summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e4f27f06b22839fc1863ec7be105fc145fea569a (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
# Maintainer: Albert Graef <aggraef@gmail.com>

pkgname=gnocl
pkgver=0.9.96+20130131
_pkgver=0.9.96
pkgrel=2
pkgdesc="Tcl/GTK+ bindings"
arch=("i686" "x86_64")
license=('custom')
url="http://www.gnocl.org/"
depends=('tcl' 'gtk2' 'libglade' 'libnotify')
makedepends=()
source=("https://launchpad.net/~dr-graef/+archive/ubuntu/pure-lang.xenial/+files/${pkgname}_${pkgver}.orig.tar.bz2"
	"$pkgname-$pkgver.patch")
md5sums=('f36639e8cc1236e4e240f406a936ccd3'
         '729c0c47ca108f1adb219605b0c7006b')

build() {
  cd $srcdir/$pkgname-$_pkgver
  patch -p1 < ../$pkgname-$pkgver.patch
  cd src
  chmod 0644 pkgIndex.tcl
  make
}

package() {
  cd $srcdir/$pkgname-$_pkgver/src
  make DESTDIR=$pkgdir install devinstall
  install -D -m644 ../license.terms "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}