Fix: pkgver must not include a hyphen
This commit is contained in:
parent
49c4be86c0
commit
574370148b
1 changed files with 4 additions and 4 deletions
8
PKGBUILD
8
PKGBUILD
|
@ -1,7 +1,8 @@
|
|||
# Maintainer: Philipp Schmitt (philipp<at>schmitt<dot>co)
|
||||
|
||||
pkgname=wallabag
|
||||
pkgver=1.9.1-b
|
||||
pkgver=1.9.1b
|
||||
_pkgver="$(sed -r 's/([a-zA-Z])/-\1/' <<< $pkgver)"
|
||||
pkgrel=1
|
||||
pkgdesc='Self hostable application for saving web pages'
|
||||
arch=('any')
|
||||
|
@ -11,15 +12,14 @@ depends=('php>=5.3.3' 'php-tidy' 'pcre' 'php-gd')
|
|||
optdepends=('mariadb: For MySQL storage' 'php-sqlite: For sqlite storage' 'php-pgsql: For postgres storage')
|
||||
install="$pkgname.install"
|
||||
options=(!strip)
|
||||
source=("https://github.com/wallabag/wallabag/archive/${pkgver}.tar.gz"
|
||||
"vendor.zip::http://wllbg.org/vendor")
|
||||
source=("https://github.com/wallabag/wallabag/archive/${_pkgver}.tar.gz" "vendor.zip::http://wllbg.org/vendor")
|
||||
sha256sums=('964d2cfb0a4f664285ddbaa08b873d55066b9937762d4b892a03e3619ad3ec09'
|
||||
'bd3e843290de28f1c20fa19ed746ca221c9174cb7f0a9723618f21bddb883e12')
|
||||
|
||||
package() {
|
||||
cd "${pkgdir}"
|
||||
mkdir -p usr/share/webapps
|
||||
mv "${srcdir}/${pkgname}-${pkgver}" usr/share/webapps/${pkgname}
|
||||
mv "${srcdir}/${pkgname}-${_pkgver}" usr/share/webapps/${pkgname}
|
||||
mv "${srcdir}/vendor" usr/share/webapps/${pkgname}/vendor
|
||||
chown -R http:http "${pkgdir}/usr/share/webapps/wallabag"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue