diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-22 14:06:58 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-22 14:06:58 -0500 |
commit | 86ba729d47a3b5664360952a8216ac9ad8fe7c03 (patch) | |
tree | b63e82541c41c45280cb4c6e8f7e7b27e778600b /pcr/netatalk/PKGBUILD | |
parent | 398d51b4803c160803be45f5993487b280659e23 (diff) | |
download | abslibre-86ba729d47a3b5664360952a8216ac9ad8fe7c03.tar.gz abslibre-86ba729d47a3b5664360952a8216ac9ad8fe7c03.tar.bz2 abslibre-86ba729d47a3b5664360952a8216ac9ad8fe7c03.zip |
netatalk-3.1.7-1: updating version
Diffstat (limited to 'pcr/netatalk/PKGBUILD')
-rw-r--r-- | pcr/netatalk/PKGBUILD | 58 |
1 files changed, 25 insertions, 33 deletions
diff --git a/pcr/netatalk/PKGBUILD b/pcr/netatalk/PKGBUILD index 0a7cf27f9..d6c8d0432 100644 --- a/pcr/netatalk/PKGBUILD +++ b/pcr/netatalk/PKGBUILD @@ -1,54 +1,46 @@ -# Maintainer (Arch): SJ_UnderWater -# Based on netatalk package : -# Maintainer (Arch): Dominik Dingel <mail at wodar dot de> +# Maintainer (Arch): Denis Yantarev <denis dot yantarev at gmail dot com> +# Contributor (Arch): SJ_UnderWater +# Contributor (Arch): Dominik Dingel <mail at wodar dot de> # Contributor (Arch): William Udovich <nerdzrule7 at earthlink dot net> # Contributor (Arch): Farhan Yousaf <farhany at xaviya dot com> # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> pkgname=netatalk -pkgver=3.0.4 -pkgrel=2.1 -pkgdesc='A kernel-level implementation of AFP services' -arch=('i686' 'x86_64' 'mips64el') +pkgver=3.1.7 +pkgrel=1 +pkgdesc='Open-source implementation of the Apple Filing Protocol' +arch=('i686' 'x86_64') url='http://netatalk.sourceforge.net' license=('GPL') -depends=('avahi>=0.6' 'libldap' 'libgcrypt>=1.2.3' 'libevent' 'python' 'dbus-glib') +depends=('avahi>=0.6' 'libldap' 'libgcrypt>=1.2.3' 'libevent' 'python2' 'dbus-glib' 'python2-dbus') replaces=('netatalk-git' 'netatalk2') backup=('etc/afp.conf' 'etc/extmap.conf') -options=('!libtool') install=$pkgname.install -changelog=$pkgname.changelog -source=(http://iweb.dl.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2) -md5sums=('f455505884a6aea307640d46a6577fd1') +source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2 + avahi-client.patch + python2.patch) +md5sums=('831ec8bf9e084b64f965d16c528af299' + '00379aacb88dcac8c1e0513da1a5f24c' + '97bc0467dd8a866d9f0835d6440e3c19') prepare() { - cd $pkgname-$pkgver - - 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 + cd "$srcdir/$pkgname-$pkgver" + patch -p0 < "$srcdir/python2.patch" + patch -p0 < "$srcdir/avahi-client.patch" } build() { - cd $pkgname-$pkgver - - - ./configure --prefix=/usr \ - --sbindir=/usr/bin \ - --localstatedir=/var/state \ - --sysconfdir=/etc \ - --with-init-style=systemd \ - --with-cracklib \ - --with-cnid-cdb-backend \ - --enable-pgp-uam \ - --with-libevent=no - + cd "$srcdir/$pkgname-$pkgver" + autoreconf -fi + CFLAGS="-Wno-unused-result -O2" \ + ./configure --prefix=/usr --localstatedir=/var/state --sysconfdir=/etc \ + --sbindir=/usr/bin --enable-silent-rules --with-init-style=systemd \ + --with-cracklib --with-cnid-cdb-backend --enable-pgp-uam --with-libevent=no make } + package() { - cd $pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install } |