Initial commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# PKGBUILD
|
||||
|
||||
# Maintainer: Daniele Fucini <dfucini [at] gmail [dot] com>
|
||||
|
||||
pkgname=update-notify-git
|
||||
_pkgname=update-notify
|
||||
pkgdesc='Notify when updates are available'
|
||||
pkgver=0.0.1
|
||||
pkgrel=1
|
||||
url="https://github.com/Fuxino/${_pkgname}"
|
||||
arch=('any')
|
||||
license=('GPL3')
|
||||
makedepends=('git')
|
||||
depends=('rsync')
|
||||
source=(git+${url}.git?signed#branch=master)
|
||||
validpgpkeys=('7E12BC1FF3B6EDB2CD8053EB981A2B2A3BBF5514')
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver()
|
||||
{
|
||||
cd ${_pkgname}
|
||||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
prepare()
|
||||
{
|
||||
git -C ${srcdir}/${_pkgname} clean -dfx
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
cd ${srcdir}/${_pkgname}
|
||||
install -Dm755 ${_pkgname} ${pkgdir}/usr/bin/${_pkgname}
|
||||
}
|
||||
Reference in New Issue
Block a user