aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-27 00:15:13 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-27 14:22:04 +0000
commitcfef7fd03b432155a28b19ae91377218ab0e20ed (patch)
tree5945c1898f5d3481fb26494ebc4b7ebf1eac6ca7 /main
parentf5830ab047073f1940e3a07182b43d06f13ef4c5 (diff)
downloadaports-cfef7fd03b432155a28b19ae91377218ab0e20ed.tar.bz2
aports-cfef7fd03b432155a28b19ae91377218ab0e20ed.tar.xz
main/libspf2: fix url fix license
Diffstat (limited to 'main')
-rw-r--r--main/libspf2/APKBUILD25
1 files changed, 11 insertions, 14 deletions
diff --git a/main/libspf2/APKBUILD b/main/libspf2/APKBUILD
index 7d10c7e0bc..80843440bf 100644
--- a/main/libspf2/APKBUILD
+++ b/main/libspf2/APKBUILD
@@ -3,14 +3,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libspf2
pkgver=1.2.10
-pkgrel=3
+pkgrel=4
pkgdesc="Sender Policy Framework library, a part of the SPF/SRS protocol pair."
-url="http://www.libspf2.org"
+url="https://wiki.gnome.org/Projects/Libsecret"
arch="all"
-license="LGPL-2.1 BSD-2"
+license="LGPL-2.1-or-later OR BSD-2-Clause"
subpackages="$pkgname-dev $pkgname-tools"
makedepends="autoconf automake libtool"
-depends=
source="http://www.libspf2.org/spf/$pkgname-$pkgver.tar.gz
00001.patch
00002.patch
@@ -19,14 +18,13 @@ source="http://www.libspf2.org/spf/$pkgname-$pkgver.tar.gz
fix-gcc-variadic-macros.patch
"
-_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$_builddir"
- update_config_sub || return 1
+ cd "$builddir"
+ update_config_sub
rm -r src/libreplace
for i in $source; do
case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i ;;
esac
done
libtoolize --force && aclocal && automake --add-missing && autoconf \
@@ -34,18 +32,17 @@ prepare() {
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
- --prefix=/usr \
- || return 1
- make || return 1
+ --prefix=/usr
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
tools() {