blob: 9f124afaa86b105d5e1942adc8ca9fa7dbf8fbe1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Johannes Loher <johannes dor loher at fg4f dot de>
pkgname='dfix'
pkgver=0.3.5
pkgrel=1
pkgdesc='Tool for automatically upgrading D source code'
arch=('i686' 'x86_64')
url='https://github.com/dlang-community/dfix'
license=('custom: BSL')
groups=('dlang')
depends=('gcc-libs')
makedepends=('dmd' 'git')
provides=('dfix')
source=("git://github.com/dlang-community/${pkgname}#tag=v${pkgver}"
'http://www.boost.org/LICENSE_1_0.txt')
md5sums=('SKIP'
'e4224ccaecb14d942c71d31bef20d78c')
prepare() {
cd "${srcdir}/${pkgname}"
git submodule update --init
}
build() {
cd "${srcdir}/${pkgname}"
make "${pkgname}_binary"
}
package(){
# binaries
mkdir -p "${pkgdir}/usr/bin"
install -m755 -t "${pkgdir}/usr/bin" "${srcdir}/${pkgname}/bin/${pkgname}"
# license
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 LICENSE_1_0.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|