From 42eeeb435c29eefa443ccac6acaa00f6da41f55e Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Tue, 19 Nov 2019 01:09:43 -0500 Subject: user/libbytesize: upgrade to 2.1 --- user/libbytesize/APKBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'user/libbytesize') diff --git a/user/libbytesize/APKBUILD b/user/libbytesize/APKBUILD index 4c80ef88a..4db2e8235 100644 --- a/user/libbytesize/APKBUILD +++ b/user/libbytesize/APKBUILD @@ -1,15 +1,15 @@ # Contributor: A. Wilcox # Maintainer: A. Wilcox pkgname=libbytesize -pkgver=1.4 +pkgver=2.1 pkgrel=0 pkgdesc="Library for working with sizes in bytes" url="https://github.com/storaged-project/libbytesize/" arch="all" options="!check" # Requires locale(1). license="LGPL-2.1+" -makedepends="gmp-dev mpfr-dev pcre-dev python3" -subpackages="$pkgname-dev $pkgname-lang py3-bytesize:py:noarch" +makedepends="gmp-dev mpfr-dev pcre2-dev python3" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang py3-bytesize:py:noarch" source="https://github.com/storaged-project/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz no-msgcat.patch" @@ -46,5 +46,5 @@ py() { mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ } -sha512sums="54aba1f605ad662ff525c47206e8342e727c807692225361f1fa8d6a66c00f2740fc3d3672978eec2806227d85f146034042a9808e458d8d6271a08934032959 libbytesize-1.4.tar.gz +sha512sums="6b93d877e921820c19ed6874a36d9f8b6958112f6230f24980e8e6e30570b39ce74594f0ef126f70dc81b5434899c1f0f3ad0925f3ff7b6a596a9329c8f106c8 libbytesize-2.1.tar.gz 5f8b46c257553672b7c2501bae99ff44594b91bfcf3f1ee209a390a8cdda693616e8207a99cea2e1263093324807a307dac9e643d1482e14f9ba604f51a05d6d no-msgcat.patch" -- cgit v1.2.3-70-g09d2 From b9d5b6030b62591fc2a82feed9469f9375f39a17 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 28 Dec 2019 08:56:05 -0600 Subject: user/[various libraries]: Modernise and fix syntax --- user/libassuan/APKBUILD | 3 --- user/libatasmart/APKBUILD | 5 +---- user/libbytesize/APKBUILD | 4 +--- user/libksba/APKBUILD | 4 +--- user/npth/APKBUILD | 7 +++---- user/pinentry/APKBUILD | 5 +---- 6 files changed, 7 insertions(+), 21 deletions(-) (limited to 'user/libbytesize') diff --git a/user/libassuan/APKBUILD b/user/libassuan/APKBUILD index 50c7b4f1f..3ad753051 100644 --- a/user/libassuan/APKBUILD +++ b/user/libassuan/APKBUILD @@ -12,7 +12,6 @@ subpackages="$pkgname-dev $pkgname-doc" source="https://www.gnupg.org/ftp/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2" build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -21,12 +20,10 @@ build() { } check() { - cd "$builddir" make check } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } diff --git a/user/libatasmart/APKBUILD b/user/libatasmart/APKBUILD index fcc9881f6..da594635a 100644 --- a/user/libatasmart/APKBUILD +++ b/user/libatasmart/APKBUILD @@ -15,13 +15,11 @@ subpackages="$pkgname-dev $pkgname-doc" source="http://0pointer.de/public/$pkgname-$pkgver.tar.xz" prepare() { - cd "$builddir" - update_config_sub default_prepare + update_config_sub } build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -36,7 +34,6 @@ build() { } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } diff --git a/user/libbytesize/APKBUILD b/user/libbytesize/APKBUILD index 4db2e8235..c013f2953 100644 --- a/user/libbytesize/APKBUILD +++ b/user/libbytesize/APKBUILD @@ -8,13 +8,13 @@ url="https://github.com/storaged-project/libbytesize/" arch="all" options="!check" # Requires locale(1). license="LGPL-2.1+" +depends="" makedepends="gmp-dev mpfr-dev pcre2-dev python3" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang py3-bytesize:py:noarch" source="https://github.com/storaged-project/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz no-msgcat.patch" build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -30,12 +30,10 @@ build() { } check() { - cd "$builddir" make check } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } diff --git a/user/libksba/APKBUILD b/user/libksba/APKBUILD index 28f152d7a..6592a21ba 100644 --- a/user/libksba/APKBUILD +++ b/user/libksba/APKBUILD @@ -8,12 +8,12 @@ url="https://www.gnupg.org/software/libksba/index.html" arch="all" # tools are GPL 3, libs are LGPL3/GPL2 license="(LGPL-3.0+ OR GPL-2.0+) AND GPL-3.0+" +depends="" makedepends="libgpg-error-dev" subpackages="$pkgname-dev $pkgname-doc" source="https://www.gnupg.org/ftp/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2" build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -22,12 +22,10 @@ build() { } check() { - cd "$builddir" make check } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } diff --git a/user/npth/APKBUILD b/user/npth/APKBUILD index 7f73efd37..35cb7878d 100644 --- a/user/npth/APKBUILD +++ b/user/npth/APKBUILD @@ -6,11 +6,12 @@ pkgdesc="Portable threading library from GNU" url="https://www.gnupg.org/software/npth/index.html" arch="all" license="LGPL-2.1+" +depends="" +makedepends="" subpackages="$pkgname-dev" -source="ftp://ftp.gnupg.org/gcrypt/npth/npth-$pkgver.tar.bz2" +source="https://gnupg.org/ftp/gcrypt/npth/npth-$pkgver.tar.bz2" build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -23,12 +24,10 @@ build() { } check() { - cd "$builddir" make check } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } diff --git a/user/pinentry/APKBUILD b/user/pinentry/APKBUILD index 4bacb46e7..c61f941d6 100644 --- a/user/pinentry/APKBUILD +++ b/user/pinentry/APKBUILD @@ -8,14 +8,13 @@ url="https://www.gnupg.org/related_software/pinentry/" arch="all" license="GPL-2.0+" depends="" -makedepends="gtk+-dev libassuan-dev libcap-dev libgpg-error-dev ncurses-dev +makedepends="gtk+2.0-dev libassuan-dev libcap-dev libgpg-error-dev ncurses-dev qt5-qtbase-dev" subpackages="$pkgname-doc $pkgname-gtk $pkgname-qt5" source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2 pinentry" build () { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -29,12 +28,10 @@ build () { } check() { - cd "$builddir" make check } package() { - cd "$builddir" make DESTDIR="$pkgdir" install rm -f "$pkgdir"/usr/bin/pinentry -- cgit v1.2.3-70-g09d2