aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/netcf/APKBUILD21
1 files changed, 5 insertions, 16 deletions
diff --git a/main/netcf/APKBUILD b/main/netcf/APKBUILD
index e9e139eb85..f6bc0c9615 100644
--- a/main/netcf/APKBUILD
+++ b/main/netcf/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=netcf
pkgver=0.2.8
-pkgrel=2
+pkgrel=3
pkgdesc="Cross-platform network configuration library"
arch="all"
url="https://fedorahosted.org/released/netcf"
@@ -11,22 +11,13 @@ makedepends="augeas-dev libgcrypt-dev libnl3-dev libxml2-dev libxslt-dev
linux-headers pkgconfig readline-dev"
install=
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
-source="https://fedorahosted.org/released/netcf/netcf-$pkgver.tar.gz"
+source="https://releases.pagure.org/$pkgname/$pkgname-$pkgver.tar.gz"
replaces="libnetcf"
-_builddir="$srcdir/netcf-$pkgver"
-prepare() {
- cd "$_builddir"
- #update_config_sub || return 1
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/netcf-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -40,7 +31,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
@@ -50,6 +41,4 @@ libs() {
mv "$pkgdir"/usr/lib "$pkgdir"/usr/share "$subpkgdir"/usr/
}
-md5sums="8edfc9a5856468ae4f8ee97415a3dbf3 netcf-0.2.8.tar.gz"
-sha256sums="fd81d607795547807150dfdb82bd164ab2569369ab48a30cb6b0d010d17b127c netcf-0.2.8.tar.gz"
sha512sums="d9a667a06469b60e8967423d6a738abc65512bf0ad0975164738c6cd5a168bf0300153067a772a61c4088ea969a88de234be0486c354edf73a7b984ddb003328 netcf-0.2.8.tar.gz"