diff options
Diffstat (limited to 'pcr/netatalk/PKGBUILD')
-rw-r--r-- | pcr/netatalk/PKGBUILD | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/pcr/netatalk/PKGBUILD b/pcr/netatalk/PKGBUILD index f87ce7e2a..b16132dab 100644 --- a/pcr/netatalk/PKGBUILD +++ b/pcr/netatalk/PKGBUILD @@ -5,7 +5,7 @@ # Contributor: Farhan Yousaf <farhany at xaviya dot com> pkgname=netatalk -pkgver=3.0.3 +pkgver=3.0.4 pkgrel=2 pkgdesc='A kernel-level implementation of AFP services' arch=('i686' 'x86_64' 'mips64el') @@ -19,17 +19,24 @@ options=('!libtool') install=$pkgname.install changelog=$pkgname.changelog source=(http://iweb.dl.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2) -md5sums=('0a6f3acefd27ad63d2cde6ae4702e1b4') +md5sums=('f455505884a6aea307640d46a6577fd1') -build() { +prepare() { cd $pkgname-$pkgver - sed -i -e 's:"/lib/systemd:"/usr/lib/systemd:' -e 's/x"linux/x"generic/' macros/netatalk.m4 + sed -i -e 's:AX_CHECK_DOCBOOK:[AX_CHECK_DOCBOOK]:' -e 's:"/lib/systemd:"/usr/lib/systemd:' -e 's/x"linux/x"generic/' macros/netatalk.m4 sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' {configure.ac,libevent/configure.in} cp /usr/share/automake*/missing . + autoreconf -i +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr \ + --sbindir=/usr/bin \ --localstatedir=/var/state \ --sysconfdir=/etc \ --with-init-style=systemd \ |