summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 016ab627ab03bb28e187ecb829735046c86774f7 (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-gconf
_pkgname=gnoclGconf
pkgver=0.9.95
pkgrel=2
pkgdesc="Tcl/GTK+ bindings, GnoclGconf module"
arch=("i686" "x86_64")
license=('custom')
url="http://www.gnocl.org/"
depends=('gnocl' 'tcl' 'gtk2' 'libglade' 'libgnomeui')
makedepends=()
source=("https://launchpad.net/~dr-graef/+archive/ubuntu/pure-lang.xenial/+files/${pkgname}_${pkgver}.orig.tar.gz"
	"$pkgname-$pkgver.patch")
md5sums=('67e59d0cf87b537debfca38d83e27dad'
         '436a48474e9f28abf403c6659744cd99')

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
  install -D -m644 ../license.terms "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}