opensc: extract update_* to external update file

This commit is contained in:
Eivind Uggedal 2015-01-15 11:17:00 +00:00
parent 2aef6c0cd2
commit 788ce560ff
2 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,6 @@ hostmakedepends="automake libtool pkg-config docbook-xsl libxslt-devel"
makedepends="readline-devel pcsclite-devel libressl-devel zlib-devel"
configure_args="--enable-man --enable-sm --enable-static=no --enable-doc
--with-xsl-stylesheetsdir=/usr/share/xsl/docbook"
update_pattern=$pkgname'-\K[\d.]+(?=\.tar.gz)'
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum="facdca215f74d999b286ae246ada8d8fcb97ce58f0a6dd30d8b1c180101e9bf0"
conf_files="/etc/opensc.conf"

1
srcpkgs/opensc/update Normal file
View File

@ -0,0 +1 @@
pattern=$pkgname'-\K[\d.]+(?=\.tar.gz)'