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)
|
# Maintainer: Philipp Schmitt (philipp<at>schmitt<dot>co)
|
||||||
|
|
||||||
pkgname=wallabag
|
pkgname=wallabag
|
||||||
pkgver=1.9.1-b
|
pkgver=1.9.1b
|
||||||
|
_pkgver="$(sed -r 's/([a-zA-Z])/-\1/' <<< $pkgver)"
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Self hostable application for saving web pages'
|
pkgdesc='Self hostable application for saving web pages'
|
||||||
arch=('any')
|
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')
|
optdepends=('mariadb: For MySQL storage' 'php-sqlite: For sqlite storage' 'php-pgsql: For postgres storage')
|
||||||
install="$pkgname.install"
|
install="$pkgname.install"
|
||||||
options=(!strip)
|
options=(!strip)
|
||||||
source=("https://github.com/wallabag/wallabag/archive/${pkgver}.tar.gz"
|
source=("https://github.com/wallabag/wallabag/archive/${_pkgver}.tar.gz" "vendor.zip::http://wllbg.org/vendor")
|
||||||
"vendor.zip::http://wllbg.org/vendor")
|
|
||||||
sha256sums=('964d2cfb0a4f664285ddbaa08b873d55066b9937762d4b892a03e3619ad3ec09'
|
sha256sums=('964d2cfb0a4f664285ddbaa08b873d55066b9937762d4b892a03e3619ad3ec09'
|
||||||
'bd3e843290de28f1c20fa19ed746ca221c9174cb7f0a9723618f21bddb883e12')
|
'bd3e843290de28f1c20fa19ed746ca221c9174cb7f0a9723618f21bddb883e12')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${pkgdir}"
|
cd "${pkgdir}"
|
||||||
mkdir -p usr/share/webapps
|
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
|
mv "${srcdir}/vendor" usr/share/webapps/${pkgname}/vendor
|
||||||
chown -R http:http "${pkgdir}/usr/share/webapps/wallabag"
|
chown -R http:http "${pkgdir}/usr/share/webapps/wallabag"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue