summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ade824e54d568dfa20ea98e974be2bd872664100 (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
37
38
39
40
41
42
43
44
# Maintainer: Manuel Palenzuela <sadshinobi@protonmail.org>
pkgname=kmd-git
_gitname=komodo
author=UoMCS
pkgver=0
pkgrel=1
pkgdesc="Komodo Manchester Debugger"
arch=('i386' 'x86_64')
url="http://brej.org/kmd/"
license=('GPL')
depends=('gtk>=1.2.0' 'glib>=1.2.0')
makedepends=()

provides=('kmd')
conflicts=('kmd')

source=("git://github.com/$author/$_gitname.git")

md5sums=('SKIP')
sha1sums=('SKIP')
sha256sums=('SKIP')

pkgver() {
    cd "$_gitname"
    printf '0.r%s.%s' \
        "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare()
{
    cd "$_gitname"
    echo '".komodo"' > src/dotkomodo.string
}

build() {
	cd "$_gitname"
	./configure --prefix=/usr --build=i386
	make
}

package() {
	cd "$_gitname"
    make DESTDIR="$pkgdir/" install
}