summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bc5ada9a59527546321f707bdc166de9eb580b19 (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
33
34
35
36
pkgname=gauche-tk-git
_pkgname=Gauche-tk
pkgver=r27.3e16cd0
pkgrel=1
pkgdesc="Simple Tk binding for Gauche"
arch=('i686' 'x86_64')
url="https://github.com/shirok/Gauche-tk"
license=('BSD')
depends=('gauche' 'tk')
makedepends=('git')
source=("git+https://github.com/shirok/Gauche-tk")
sha256sums=('SKIP')

pkgver() {
    cd "$_pkgname"

    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "$_pkgname"

    ./configure --prefix=/usr
}

check() {
    cd "$_pkgname"

    make -k check
}

package() {
    cd "$_pkgname"

    make DESTDIR="$pkgdir/" install
}