30 lines
778 B
Bash
30 lines
778 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=sfsexp
|
|
pkgver=1.3.1+18~git20210718
|
|
pkgrel=1
|
|
pkgdesc="Small Fast S-Expression Library"
|
|
arch=('i686' 'x86_64')
|
|
url="https://github.com/mjsottile/sfsexp"
|
|
license=('LGPL-2.1')
|
|
depends=('glibc')
|
|
source=("${pkgname}-${pkgver}.tar.xz::https://deb.debian.org/debian/pool/main/s/sfsexp/sfsexp_${pkgver}.orig.tar.xz")
|
|
sha512sums=('888826a243d5faee573ac9f0e226776f5b75492cd5ac3d09d53153850195244c0adbd13980c4fc36e4d1779267fc3e75b91e16b04b5292a2afb5d8bb6738a9d2')
|
|
|
|
prepare() {
|
|
cd "$pkgname-$pkgver"
|
|
autoreconf -vfi
|
|
}
|
|
|
|
build() {
|
|
cd "$pkgname-$pkgver"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir/" install
|
|
install -Dm644 LICENSE_LGPL -t "$pkgdir/usr/share/licenses/$pkgname"
|
|
}
|