diff options
author | trya | 2016-02-02 01:05:53 +0100 |
---|---|---|
committer | trya | 2016-02-02 01:05:53 +0100 |
commit | ca5c89d462f7b68fb6614ec3471c0725e88f1db8 (patch) | |
tree | b126303891a126bc9c36637bd0287af26d30af85 | |
download | aur-ca5c89d462f7b68fb6614ec3471c0725e88f1db8.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..26ea60eefb40 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Tue Feb 2 00:05:44 UTC 2016 +pkgbase = tkgate-beta + pkgdesc = A digital circuit simulator with a tcl/tk-based graphical editor. Beta version + pkgver = 2.0_b10 + pkgrel = 1 + url = http://www.tkgate.org + arch = i686 + arch = x86_64 + license = GPL + depends = tcl + depends = tk + conflicts = tkgate + source = http://pkgs.fedoraproject.org/repo/pkgs/tkgate/tkgate-2.0-b10.tar.gz/84ffe959868d39ec856b5ff1c70136c3/tkgate-2.0-b10.tar.gz + md5sums = 84ffe959868d39ec856b5ff1c70136c3 + +pkgname = tkgate-beta + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bda87d768302 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: trya <tryagainprod@gmail.com> +# Contributor: dragonn <dragonn at op dot pl> + +pkgname=tkgate-beta +pkgver=2.0_b10 +pkgrel=1 +license=('GPL') +pkgdesc="A digital circuit simulator with a tcl/tk-based graphical editor. Beta version" +depends=('tcl' 'tk') +conflicts=('tkgate') +url="http://www.tkgate.org" +arch=('i686' 'x86_64') +source=("http://pkgs.fedoraproject.org/repo/pkgs/tkgate/tkgate-${pkgver//_/-}.tar.gz/84ffe959868d39ec856b5ff1c70136c3/tkgate-${pkgver//_/-}.tar.gz") +md5sums=('84ffe959868d39ec856b5ff1c70136c3') + +build() { + cd ${srcdir}/tkgate-${pkgver//_/-} + CPPFLAGS='-DUSE_INTERP_RESULT' LDFLAGS='-lm' ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/tkgate-${pkgver//_/-} + make DESTDIR=${pkgdir} install + ln -sf ${pkgdir}/usr/bin/verga ${pkgdir}/usr/share/tkgate/libexec/verga + ln -sf ${pkgdir}/usr/bin/tkgate ${pkgdir}/usr/share/tkgate/libexec/tkgate +} |