diff options
author | Spyros Stathopoulos | 2015-06-13 14:55:40 +0300 |
---|---|---|
committer | Spyros Stathopoulos | 2015-06-13 14:55:40 +0300 |
commit | 3afd2ce41dd5ee9d4efc6a2b7652abfd967e9751 (patch) | |
tree | 027d786a5c772c8a29d7eff23da3dab607c68668 | |
download | aur-3afd2ce41dd5ee9d4efc6a2b7652abfd967e9751.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 29 |
3 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..58ce9c647e32 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = tktable + pkgdesc = A full-featured 2D table widget for Tk. + pkgver = 2.10 + pkgrel = 3 + url = http://tktable.sourceforge.net/ + arch = i686 + arch = x86_64 + license = custom + depends = tcl + depends = tk + source = http://downloads.sourceforge.net/project/tktable/tktable/2.10/Tktable2.10.tar.gz + md5sums = ecdd96b39ad49b820bf084eb1c786f66 + +pkgname = tktable + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..ac4b8184b78d --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +src/* +pkg/* +*.tar.gz +*.tar.xz +*.tar.bz2 +*.zip +*.swp +*.log diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..87490593b545 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Contributor: Spyros Stathopoulos <foucault.online@gmail.com> +pkgname=tktable +_pkgnameactual=Tktable +pkgver=2.10 +pkgrel=3 +pkgdesc="A full-featured 2D table widget for Tk." +arch=('i686' 'x86_64') +url="http://tktable.sourceforge.net/" +license=('custom') +depends=('tcl' 'tk') +source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/${_pkgnameactual}${pkgver}.tar.gz") +md5sums=('ecdd96b39ad49b820bf084eb1c786f66') + +build() { + cd "$srcdir" + # Fix the package name + mv "$_pkgnameactual$pkgver" "$pkgname$pkgver" + cd "$pkgname$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}" + cd "${pkgname}${pkgver}" + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: |