diff options
Diffstat (limited to 'testing/neard/APKBUILD')
-rw-r--r-- | testing/neard/APKBUILD | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/testing/neard/APKBUILD b/testing/neard/APKBUILD deleted file mode 100644 index 7defd290bf..0000000000 --- a/testing/neard/APKBUILD +++ /dev/null @@ -1,61 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=neard -pkgver=0.14 -pkgrel=0 -pkgdesc="Near Field Communication manager" -url="https://01.org/linux-nfc/" -arch="all" -license="GPLv2" -depends="" -depends_dev="" -makedepends="$depends_dev glib-dev dbus-dev libnl3-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="https://www.kernel.org/pub/linux/network/nfc/neard-$pkgver.tar.xz - neard.initd - " - -_builddir="$srcdir"/neard-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - update_config_sub || return 1 -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - - install -d "$pkgdir"/etc/conf.d "$pkgdir"/etc/init.d - echo 'NEARD_OPTS=""' > "$pkgdir"/etc/conf.d/neard - - install -m755 "$srcdir"/neard.initd "$pkgdir"/etc/init.d/neard \ - || return 1 - -} - -md5sums="692ba2653d60155255244c87396c486b neard-0.14.tar.xz -ae70699a277238d9b64f2c457e987996 neard.initd" -sha256sums="6ea724b443d39d679168fc7776a965d1f64727c3735391df2c01469ee7cd8cca neard-0.14.tar.xz -df6f500b1e4eb113dc1d0a4c18c62c4007c8559ef5206d1425d88d1079b653f6 neard.initd" -sha512sums="e5a3caac5be088047f18f6998ce6a13ae50f671c864d658237310abd8c587a0b34cc11a81e7d1e69223458215eac583e3935c799bdc0b301ee41bbfd27e28cac neard-0.14.tar.xz -fb461dc3b8173ea6282357e39f3c4639784b7221fddda8c9b50799ded85ec60eb2fa1ccd516558e97a9e7840beab29b9c613950f7ee872c7ab0433207409bbc1 neard.initd" |