aboutsummaryrefslogtreecommitdiffstats
path: root/main/netcf/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-03-08 13:06:45 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-03-08 13:06:45 +0000
commiteb9bf89513895bedf42440bec6469f3c8b04d4bb (patch)
tree58237b282614370d41a9f8b23761720401a7f446 /main/netcf/APKBUILD
parent6597194e201334ce8e06746a97ad135514e7e684 (diff)
downloadaports-eb9bf89513895bedf42440bec6469f3c8b04d4bb.tar.gz
aports-eb9bf89513895bedf42440bec6469f3c8b04d4bb.tar.bz2
aports-eb9bf89513895bedf42440bec6469f3c8b04d4bb.tar.xz
main/netcf: updated source url due to fedorahosted.org close
Diffstat (limited to 'main/netcf/APKBUILD')
-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"