summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e2021b42789
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Genki Sky <alt+archlinux.org@genki.is>
+
+pkgname=lingot-git
+pkgver=1
+pkgrel=1
+pkgdesc='LINGOT is a musical instrument tuner'
+arch=('i686' 'x86_64')
+url='http://nongnu.org/lingot/'
+license=('GPL2')
+depends=('gtk3')
+makedepends=('git' 'intltool')
+provides=('lingot')
+conflicts=('lingot')
+source=('git+https://git.savannah.nongnu.org/git/lingot.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd lingot
+ git log -1 --format='%cd.%h' --date=short | tr -d -
+}
+
+build() {
+ cd lingot
+ ./bootstrap
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd lingot
+ make DESTDIR="$pkgdir" install
+}