summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-21 19:23:20 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-21 19:23:20 -0500
commit01dc5112e9e2acb6881d291af4420c0bcfd4689f (patch)
tree46d978c30367e2f45afd07e4e5f30475e653aad2
parent1fab260916ad22069b33eea68cd3e15a8b76dbe1 (diff)
downloadabslibre-01dc5112e9e2acb6881d291af4420c0bcfd4689f.tar.gz
abslibre-01dc5112e9e2acb6881d291af4420c0bcfd4689f.tar.bz2
abslibre-01dc5112e9e2acb6881d291af4420c0bcfd4689f.zip
softhsm-1.3.7-3: updating version
-rw-r--r--pcr/softhsm/PKGBUILD50
1 files changed, 27 insertions, 23 deletions
diff --git a/pcr/softhsm/PKGBUILD b/pcr/softhsm/PKGBUILD
index a85c68fef..96c77aaa0 100644
--- a/pcr/softhsm/PKGBUILD
+++ b/pcr/softhsm/PKGBUILD
@@ -1,20 +1,34 @@
# Maintainer (Arch): Javier Torres <javitonino [at] gmail [dot] com>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=softhsm
-pkgver=1.3.4
-pkgrel=1
+pkgver=1.3.7
+pkgrel=3
pkgdesc="Software PKCS11 store"
-arch=('i686' 'x86_64' 'mips64el')
+arch=('i686' 'x86_64')
url="http://www.opendnssec.org/softhsm/"
-license=('custom' 'BSD')
-depends=('botan' 'sqlite3')
+license=('BSD')
+groups=()
+depends=('botan-1.10' 'sqlite3>=3.3.9')
+makedepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
backup=("etc/softhsm.conf")
-source=("http://www.opendnssec.org/files/source/${pkgname}-${pkgver}.tar.gz"{,.sig})
-sha1sums=('f09b6828776bcf9fef1dd46cfa7a495da01c7747'
- 'SKIP')
-sha256sums=('f10319dfa651023dad3d0845d284ec08ef982c1fc1bdb55cf8a725f762961e97'
- 'SKIP')
-prepare() {
+options=(!libtool)
+install=
+changelog=
+source=("http://www.opendnssec.org/files/source/${pkgname}-${pkgver}.tar.gz")
+noextract=()
+
+md5sums=('acfda39ee23c32f38ee51692d6c6a44b')
+sha1sums=('e8bf4269472f9e63d1dfeda238b1d542d6c036f2')
+sha256sums=('d12d6456a85561266d9da427565f3ee3746a35df6670d5e6be75de253c2810a4')
+sha384sums=('a0c8541efe1443f4c98c83be4c86265f1e40c112c5bf4ae5b98a358d858b7a392c39938ad8f6a8f4d4a103742ddbc913')
+sha512sums=('287400b981b7b420a300593129696e4739afe085a8106047ef429bc741d205bed214386b422572327c3bda63f0fb1b7558bb4d30d184ca3ec2ba9900153f075d')
+
+build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# /usr/lib/softhsm -> /usr/bin (no subdirectory)
@@ -22,17 +36,8 @@ prepare() {
-e "s/full_libdir=\"\$full_libdir\/softhsm\"/#full_libdir=\"\$full_libdir\/softhsm\"/" \
-e "s/libdir=\$full_libdir/#libdir=\$full_libdir/" \
configure
-}
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr \
- --sbindir=/usr/bin \
- --datarootdir=/usr/share \
- --localstatedir=/var/lib \
- --sysconfdir=/etc \
- --with-botan=/usr
+ ./configure --prefix=/usr --datarootdir=/usr/share --localstatedir=/var --sysconfdir=/etc --with-botan=/usr
make
}
@@ -40,7 +45,6 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/" install
-
install -Dm0644 "LICENSE" \
- "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ "${pkgdir}/usr/share/licenses/softhsm/LICENSE"
}