diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2018-12-26 09:39:26 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2018-12-26 09:39:26 +0000 |
commit | ca3799aa792a2a26260622751650acc61b27f974 (patch) | |
tree | e21d3a46b7f48560c797ad1a53f03375ad09bcbc | |
parent | cd352ad6a8b8d275aaeebde90bd03bbaee5f2c9c (diff) | |
download | aports-ca3799aa792a2a26260622751650acc61b27f974.tar.bz2 aports-ca3799aa792a2a26260622751650acc61b27f974.tar.xz |
main/dpkg: upgrade to 1.19.2, updated APKBUILD
-rw-r--r-- | main/dpkg/APKBUILD | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/main/dpkg/APKBUILD b/main/dpkg/APKBUILD index 8d9cf85a5c..dd71993648 100644 --- a/main/dpkg/APKBUILD +++ b/main/dpkg/APKBUILD @@ -1,25 +1,25 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=dpkg -pkgver=1.18.24 +pkgver=1.19.2 pkgrel=0 pkgdesc="The Debian Package Manager" url="http://packages.debian.org/dpkg" arch="all" license="GPL" depends="xz" +options="!check" makedepends="bzip2-dev zlib-dev perl linux-headers" subpackages="$pkgname-doc $pkgname-dev" -source="http://ftp.de.debian.org/debian/pool/main/d/$pkgname/${pkgname}_$pkgver.tar.xz - " - +source="http://ftp.de.debian.org/debian/pool/main/d/$pkgname/${pkgname}_$pkgver.tar.xz" builddir="$srcdir"/$pkgname-$pkgver + prepare() { cd "$builddir" - default_prepare || return 1 + default_prepare sed -i "s|<ncursesw/curses.h>|<curses.h>|g" dselect/dselect.h \ - dselect/Makefile.in || return 1 - sed -i "s|<ncursesw/term.h>|<term.h>|g" dselect/main.cc || return 1 + dselect/Makefile.in + sed -i "s|<ncursesw/term.h>|<term.h>|g" dselect/main.cc } build() { @@ -35,14 +35,13 @@ build() { --with-libbz2 \ --disable-dselect \ --disable-start-stop-daemon \ - --disable-nls \ - || return 1 - make || return 1 + --disable-nls + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } dev() { @@ -65,9 +64,9 @@ dev() { "$pkgdir"/usr/bin/dpkg-shlibdeps \ "$pkgdir"/usr/bin/dpkg-source \ "$pkgdir"/usr/bin/dpkg-vendor \ - "$subpkgdir"/usr/bin/ || return 1 + "$subpkgdir"/usr/bin/ mv "$pkgdir"/usr/share/perl* "$subpkgdir"/usr/share/ } -sha512sums="74df36a49a1b6b2243db14bd7ee0b69e50c2f0e79fc87e86e9b3cba2261fb717e421f7190a3ba54b4680a2f83855e5857dcb2625aa56847133258567392f1d42 dpkg_1.18.24.tar.xz" +sha512sums="244a6ef6aad935aee649503d6ce3238e34f4fae3f57ca79e99c1890140d913c29255bc9d0e90b50e96d2cf44ab0e44d6c3675a7bed306213fe5fe31710324cf7 dpkg_1.19.2.tar.xz" |