From 0be78807ac1a050c88f847ef0e36f5cd4d9b5725 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Mon, 18 Feb 2013 17:31:52 -0500 Subject: Adding packages to pcr --- pcr/ahcpd/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pcr/ahcpd/PKGBUILD (limited to 'pcr/ahcpd/PKGBUILD') diff --git a/pcr/ahcpd/PKGBUILD b/pcr/ahcpd/PKGBUILD new file mode 100644 index 000000000..52c917bbc --- /dev/null +++ b/pcr/ahcpd/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Yann Lopez +pkgname=ahcpd +pkgver=0.53 +pkgrel=2 +pkgdesc="Ad-Hoc Configuration Protocol" +arch=(i686 x86_64 mips64el) +url="http://www.pps.jussieu.fr/~jch/software/ahcp/" +license=('custom') +depends=('sh') +source=(http://www.pps.jussieu.fr/~jch/software/files/$pkgname-$pkgver.tar.gz) + +build() { + cd "$srcdir/$pkgname-$pkgver" + + sed -i 's/\$(PREFIX)\/man/$(PREFIX)\/share\/man/g' Makefile + make PREFIX="/usr" +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make install TARGET=${pkgdir} PREFIX=/usr + + install -d $pkgdir/usr/share/licenses/ahcpd + install -m 644 LICENCE $pkgdir/usr/share/licenses/ahcpd/ +} +md5sums=('a1a610bf20965aa522cd766bf3d5829a') -- cgit v1.2.3-54-g00ecf