Verified Commit b9d5b603 authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

user/[various libraries]: Modernise and fix syntax

parent 127e5b49
......@@ -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
}
......
......@@ -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
}
......
......@@ -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
}
......
......@@ -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
}
......
......@@ -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
}
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment