31 lines
775 B
Bash
31 lines
775 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=rpcsvc-proto
|
|
pkgver=1.4.2
|
|
pkgrel=1
|
|
pkgdesc='rpcsvc protocol definitions from glibc'
|
|
arch=(i686 x86_64)
|
|
url='https://github.com/thkukuk/rpcsvc-proto'
|
|
license=(Modified-BSD)
|
|
depends=(glibc)
|
|
makedepends=(gettext-tiny)
|
|
source=($pkgname-$pkgver.tar.gz::https://github.com/thkukuk/rpcsvc-proto/archive/v$pkgver.tar.gz)
|
|
sha512sums=('6769f9439e3f187eebdeef4ee8d54f8a6fee6f410e3137d0c1b26e61b705873932890856faff55b68c39aa702e456b36fe9410b85baf1ef9b20ee97f2158971a')
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
autoreconf -fi
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
|
}
|