pkgs/argp-standalone/PKGBUILD

31 lines
660 B
Text
Raw Normal View History

2023-12-05 04:47:04 +00:00
# Maintainer: Daryl Ronningen <relms@relms.dev>
pkgname=argp-standalone
2023-12-08 20:54:14 +00:00
pkgver=1.6.1
2023-12-05 04:47:04 +00:00
pkgrel=1
pkgdesc="Standalone version of Glibc's ARGP"
2023-12-08 02:05:38 +00:00
arch=("x86_64")
2023-12-08 20:54:14 +00:00
url="https://code.relms.dev/Ikeda/argp-standalone"
2023-12-08 02:05:38 +00:00
license=("LGPL-2.1-or-later")
2023-12-08 20:54:14 +00:00
source=("$pkgname-$pkgver.tar.gz::https://code.relms.dev/Ikeda/argp-standalone/archive/$pkgver.tar.gz")
sha256sums=("ccf6880276f8c6fc4e895f4cac04ebfba4b59908f36255335812b74fcb90196f")
2023-12-05 04:47:04 +00:00
prepare() {
2023-12-08 20:54:14 +00:00
cd $pkgname
2023-12-08 02:05:38 +00:00
autoreconf -fi
2023-12-05 04:47:04 +00:00
}
build() {
2023-12-08 20:54:14 +00:00
cd $pkgname
2023-12-08 02:05:38 +00:00
2023-12-08 20:54:14 +00:00
./configure --prefix=/usr
2023-12-08 02:05:38 +00:00
make
2023-12-05 04:47:04 +00:00
}
package() {
2023-12-08 20:54:14 +00:00
cd $pkgname
2023-12-05 04:47:04 +00:00
2023-12-08 02:05:38 +00:00
install -D -m644 argp.h $pkgdir/usr/include/argp.h
install -D -m644 libargp.a $pkgdir/usr/lib/libargp.a
2023-12-05 04:47:04 +00:00
}