diff options
Diffstat (limited to 'user/xmlsec/APKBUILD')
-rw-r--r-- | user/xmlsec/APKBUILD | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/user/xmlsec/APKBUILD b/user/xmlsec/APKBUILD index 4a3b752ed..ffadaa957 100644 --- a/user/xmlsec/APKBUILD +++ b/user/xmlsec/APKBUILD @@ -1,33 +1,32 @@ # Maintainer: Max Rees <maxcrees@me.com> pkgname="xmlsec" -pkgver=1.2.25 +pkgver=1.2.26 pkgrel=0 pkgdesc="C-based XML signature and encryption syntax and processing library" -url="https://github.com/lsh123/${pkgname}/" +url="https://github.com/lsh123/$pkgname/" arch="all" +options="libtool" license="MIT" depends="" depends_dev="" -makedepends="${depends_dev} libxml2-dev libxslt-dev openssl-dev nss-dev +makedepends="$depends_dev libxml2-dev libxslt-dev nss-dev openssl-dev autoconf automake libtool" -install="" -options="libtool" subpackages="$pkgname-nss $pkgname-dev $pkgname-doc" -source="${url}/archive/${pkgname}-${pkgver//./_}.tar.gz" -builddir="${srcdir}/${pkgname}-${pkgname}-${pkgver//./_}" +source="$url/archive/$pkgname-${pkgver//./_}.tar.gz" +builddir="$srcdir/$pkgname-$pkgname-${pkgver//./_}" prepare() { - cd "${builddir}" + cd "$builddir" default_prepare ./autogen.sh } build() { - cd "${builddir}" + cd "$builddir" ./configure \ - --build="$CBUILD" \ - --host="$CHOST" \ - --prefix='/usr' \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --disable-static \ --enable-pkgconfig \ --with-openssl=/usr \ @@ -38,16 +37,16 @@ build() { } check() { - cd "${builddir}" + cd "$builddir" make -k check } package() { - cd "${builddir}" - make DESTDIR="${pkgdir}" install + cd "$builddir" + make DESTDIR="$pkgdir" install - install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" - install -m644 'COPYING' "${pkgdir}/usr/share/licenses/${pkgname}/" + install -m755 -d "$pkgdir/usr/share/licenses/$pkgname" + install -m644 'COPYING' "$pkgdir/usr/share/licenses/$pkgname/" } nss() { @@ -57,4 +56,4 @@ nss() { mv "$pkgdir"/usr/lib/libxmlsec1-nss.so* "$subpkgdir"/usr/lib/ } -sha512sums="3f05d76c70eecbcb38b466fc191a13ff692a39e36ab04c7d667f726b9e59e8896ce469e147f907fb044b154d0d5f00b89f6c0fc6d84a90b715efe6c80e0e123d xmlsec-1_2_25.tar.gz" +sha512sums="f685f513db0287bc4e5cc6d06b5ed9731cbc03c0e20e1f18da9251fce79f1c6966dc094277f0451e47fd2565018daf77b2126f06f1a56d85ff31f7d3ffa3e2a0 xmlsec-1_2_26.tar.gz" |