summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: de07224b39f39ca6d5a0fff4176941db86af0e3f (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: trya <tryagainprod@gmail.com>
# Contributor: Víctor Martínez Romanos <vmromanos@gmail.com>

pkgname=tkgate
pkgver=1.8.7
pkgrel=4
pkgdesc="A digital circuit simulator with a tcl/tk-based graphical editor"
arch=('i686' 'x86_64')
url="http://www.tkgate.org"
license=("GPL")
makedepends=('imake')
depends=('tcl' 'tk')
conflicts=('tkgate-beta')
source=("http://http.debian.net/debian/pool/main/t/tkgate/tkgate_1.8.7.orig.tar.gz"
        tkgate.diff.gz)
md5sums=('628b5ca66283fc1473c9ef7300ae73c8'
         '0eaafa98ff751c657b3adf73ea4f5bf6')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  zcat ../tkgate.diff.gz | patch -p1
  ./configure
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  make DESTDIR="$pkgdir" install.man
}