summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fb4b60e1cdb
--- /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