diff options
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 31 insertions, 31 deletions
@@ -1,11 +1,16 @@ pkgbase = herbe-git - pkgver = 1 - pkgrel = 1 - url = https://github.com/dudik/herbe - arch = any - license = MIT - makedepends = git - source = git+https://github.com/dudik/herbe.git - md5sums = SKIP + pkgdesc = Daemon-less notifications without D-Bus + pkgver = 1.0.0 + pkgrel = 1 + url = https://github.com/dudik/herbe + arch = x86_64 + license = MIT + makedepends = git + depends = libx11 + depends = libxft + provides = herbe + conflicts = herbe + source = herbe-git-1.0.0::git+https://github.com/dudik/herbe + md5sums = SKIP pkgname = herbe-git @@ -1,30 +1,25 @@ -# Maintainer: Samuel DudÃk <dudik at tutanota dot com> -_pkgname=herbe -pkgname=$_pkgname-git -pkgver=1 -pkgrel=1 -pkgdesc="Daemon-less notifications without D-Bus. Minimal and lightweight." -arch=(any) +# Maintainer: Lancia Greggori <lanciagreggori@gmail.com> +pkgname='herbe-git' +pkgver='1.0.0' +pkgrel='1' +pkgdesc='Daemon-less notifications without D-Bus' +arch=('x86_64') +url='https://github.com/dudik/herbe' license=('MIT') +depends=('libx11' 'libxft') makedepends=('git') -url="https://github.com/dudik/$_pkgname" -source=("git+https://github.com/dudik/$_pkgname.git") +provides=('herbe') +conflicts=('herbe') +source=("$pkgname-$pkgver::git+$url") md5sums=('SKIP') -prepare() { - cd $_pkgname - if [ -f "$srcdir/config.h" ]; then - cp -f "$srcdir/config.h" config.h - fi +build() { + cd "$pkgname-$pkgver" + make clean all } -build () { - cd "$_pkgname" - make -} - -package () { - cd "$_pkgname" - mkdir -p "$pkgdir/usr/local/bin" - cp $_pkgname "$pkgdir/usr/local/bin/" +package() { + cd "$pkgname-$pkgver" + make PREFIX='/usr' DESTDIR="$pkgdir/" install + install -D -m 644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |