summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMarkus Moser2016-01-14 09:42:24 +0100
committerMarkus Moser2016-01-14 09:42:24 +0100
commit28afb80ee0b3ee4c2aa5ea5810515221b6761d34 (patch)
tree00c251a6d7e8a4e34eed0620b13c54b86dbfa569 /PKGBUILD
downloadaur-28afb80ee0b3ee4c2aa5ea5810515221b6761d34.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7a59b0c96fc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Markus Moser<marmoser@wu.ac.at>
+pkgname=naviserver-tclthread
+pkgver=2.7.2
+pkgrel=1
+pkgdesc="Provides tcl thread library for naviserver. You can use this extension to gain script-level access to Tcl threading capabilities."
+_ns_install_dir="/usr/lib/naviserver"
+arch=('x86_64')
+url="http://tcl.sourceforge.net"
+license=('custom')
+depends=('tcl' 'naviserver')
+source=("http://downloads.sourceforge.net/project/tcl/Thread%20Extension/${pkgver}/thread${pkgver}.tar.gz")
+md5sums=("e025dbfa2dcd13e5feb4d06f6a00b2b7")
+
+build() {
+ cd thread${pkgver}/unix
+ ../configure --enable-threads --prefix=${_ns_install_dir} --exec-prefix=${_ns_install_dir} --with-naviserver=${_ns_install_dir} --with-tcl=/usr/lib
+make
+}
+
+package() {
+ cd thread${pkgver}/unix
+ make install DESTDIR=${pkgdir}
+}
+