summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e2021b427890676a0ab78851c7873c262cfdeae7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
}