summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0a415a49cbefceac66d9c538f6d1696ca5fd4769 (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=("https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/tkgate/1.8.7-4/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
}