diff options
author | Tom Stroobants | 2015-09-14 21:10:59 +0200 |
---|---|---|
committer | Tom Stroobants | 2015-09-14 21:10:59 +0200 |
commit | d40e91243e7c9e2cfcad1cda8af61779d61cf48c (patch) | |
tree | 8230877f16edba74582bdeaf35d645923865ddb3 | |
download | aur-willekeur-git.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..24250fdf8161 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = willekeur-git + pkgdesc = On call will change the background to a Google Earth image + pkgver = 1.0.0 + pkgrel = 1 + url = https://github.com/stroobantstom/willekeur + arch = any + license = MIT + depends = curl + source = willekeur-git::git+https://github.com/stroobantstom/willekeur.git + md5sums = SKIP + +pkgname = willekeur-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fb4b60e1cdb1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Tom Stroobants <stroobantstom@gmail.com> +pkgname=willekeur-git +_command=willekeur +pkgver=1.0.0 +pkgrel=1 +pkgdesc="On call will change the background to a Google Earth image" +arch=("any") +url="https://github.com/stroobantstom/willekeur" +license=('MIT') +depends=('curl') + +source=("$pkgname"::"git+https://github.com/stroobantstom/willekeur.git") + +md5sums=('SKIP') #autofill using updpkgsums + + +pkgver() { + cd "${srcdir}/${pkgname}" + git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' +} + +package() { + cd "${srcdir}/${pkgname}" + + install -Dm755 willekeur.sh "${pkgdir}/usr/bin/${_command}" + install -Dm755 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +}
\ No newline at end of file |