diff options
author | Alad Wenter | 2017-09-10 20:40:37 +0200 |
---|---|---|
committer | Alad Wenter | 2017-09-10 20:40:37 +0200 |
commit | 4653a0e1542e387e79ed7ea8abf7ae5ac9de6c35 (patch) | |
tree | c70c24ecbce45f724c94bc223813afb9673eed2e | |
parent | 42617102e22f76c7ba1c17b372aa3849367c6071 (diff) | |
download | aur-4653a0e1542e387e79ed7ea8abf7ae5ac9de6c35.tar.gz |
dpkg: fix reclone, autoreconf, emptydirs
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 13 insertions, 7 deletions
@@ -1,4 +1,5 @@ # Generated by mksrcinfo v8 +# Sun Sep 10 18:40:36 UTC 2017 pkgbase = dpkg pkgdesc = The Debian Package Manager. Don't use it instead of Arch's 'pacman'. pkgver = 1.18.24 @@ -16,7 +17,8 @@ pkgbase = dpkg depends = zlib depends = bzip2 depends = perl - source = dpkg-1.18.24::git+https://anonscm.debian.org/git/dpkg/dpkg.git#commit=4fd7def03c96e82c03773c6eca111cf244bae8c0 + options = emptydirs + source = dpkg::git+https://anonscm.debian.org/git/dpkg/dpkg.git#commit=4fd7def03c96e82c03773c6eca111cf244bae8c0 sha256sums = SKIP pkgname = dpkg @@ -17,21 +17,25 @@ pkgdesc="The Debian Package Manager. Don't use it instead of Arch's 'pacman'." arch=('i686' 'x86_64') url="https://tracker.debian.org/pkg/dpkg" license=('GPL') +options=('emptydirs') depends=('xz' 'zlib' 'bzip2' 'perl') makedepends=('perl-io-string' 'perl-timedate' 'git') checkdepends=('perl-io-string' 'perl-test-pod') -source=("$pkgname-$pkgver::git+https://anonscm.debian.org/git/dpkg/dpkg.git#commit=$_commit") +source=("$pkgname::git+https://anonscm.debian.org/git/dpkg/dpkg.git#commit=$_commit") sha256sums=('SKIP') check() { - cd "$pkgname-$pkgver" + cd "$pkgname" #make check } -build() { - cd "$pkgname-$pkgver" +prepare() { + cd "$pkgname" autoreconf -f -i +} +build() { + cd "$pkgname" ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ @@ -41,9 +45,9 @@ build() { } package() { - cd "$pkgname-$pkgver" + cd "$pkgname" make DESTDIR="$pkgdir" install install -d "$pkgdir/var/$pkgname"/updates/ - touch "${pkgdir}/var/lib/$pkgname"/{status,available} + touch "$pkgdir/var/lib/$pkgname"/{status,available} } |