diff options
author | Joakim Reinert | 2016-02-01 03:39:08 +0100 |
---|---|---|
committer | Joakim Reinert | 2016-02-01 03:39:08 +0100 |
commit | 8805f9e758d1b941b39aff7ce404830225d0f6bb (patch) | |
tree | 8d6cf55221a57814a3922218dd1534c79daa96d6 | |
download | aur-8805f9e758d1b941b39aff7ce404830225d0f6bb.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2d464412b402 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Mon Feb 1 02:38:56 UTC 2016 +pkgbase = ketchup-git + pkgdesc = a pomodoro timer using client <-> server architecture + pkgver = 0.0.1 + pkgrel = 1 + url = https://github.com/jreinert/ketchup + arch = any + makedepends = crystal-git + depends = libpcl + provides = ketchup + conflicts = ketchup-bin + source = ketchup-git::git+https://github.com/jreinert/ketchup.git + sha512sums = SKIP + +pkgname = ketchup-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b5106e78a23b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Joakim Reinert <mail+aur@jreinert.com> + +pkgname=ketchup-git +pkgver=0.0.1 +pkgrel=1 +pkgdesc='a pomodoro timer using client <-> server architecture' +arch=(any) +url='https://github.com/jreinert/ketchup' +licence=('MIT') +depends=(libpcl) +makedepends=(crystal-git) + +source=("${pkgname}::git+https://github.com/jreinert/ketchup.git") +sha512sums=(SKIP) +provides=('ketchup') +conflicts=('ketchup-bin') + +pkgver() { + cd "$pkgname" + git describe --tags | sed 's/^v//;s/-/./g' +} + +build() { + make -C "$pkgname" +} + +package() { + make -C "$pkgname" PREFIX=/usr DESTDIR="$pkgdir" install + install -Dm644 "$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: |