pkgs/argp-standalone/PKGBUILD
2023-12-08 21:44:38 -08:00

30 lines
660 B
Bash

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