diff options
-rwxr-xr-x | .SRCINFO | 2 | ||||
-rwxr-xr-x | PKGBUILD | 17 |
2 files changed, 10 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = sph-web-publish-git pkgdesc = static site generator - pkgver = 30 + pkgver = 42 pkgrel = 1 url = http://sph.mn arch = any @@ -1,5 +1,6 @@ -pkgname=sph-web-publish-git -pkgver=30 +_name=sph-web-publish +pkgname=$_name-git +pkgver=42 pkgrel=1 pkgdesc="static site generator" arch=(any) @@ -7,18 +8,18 @@ license=(gpl3+) makedepends=(git) depends=(guile guile-commonmark sph-lib) optdepends=(rsync graphicsmagick) -provides=(sph-web-publish) -conflicts=(sph-web-publish) -source=("git://git.sph.mn/sph-web-publish") +provides=($_name) +conflicts=($_name) +source=("git://git.sph.mn/$_name") url="http://sph.mn" md5sums=(SKIP) pkgver() { - cd sph-web-publish + cd $_name git rev-list --count HEAD } package() { - cd sph-web-publish - ./exe/install "${pkgdir}" + cd $_name + ./exe/install "$pkgdir" }
\ No newline at end of file |