summaryrefslogtreecommitdiff
path: root/pcr/tkpng
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-09 14:55:33 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-09 14:55:33 -0500
commit33cec7120d46714af39df5cab41bb9c3a3510e5d (patch)
tree309132c5b7fcbc24ae8a3b489c87cde31c0dfa52 /pcr/tkpng
parent37a4d97447e273ab01e5a29b83393118da1e8faf (diff)
downloadabslibre-33cec7120d46714af39df5cab41bb9c3a3510e5d.tar.gz
abslibre-33cec7120d46714af39df5cab41bb9c3a3510e5d.tar.bz2
abslibre-33cec7120d46714af39df5cab41bb9c3a3510e5d.zip
tkpng: add new package to [pcr]
Diffstat (limited to 'pcr/tkpng')
-rw-r--r--pcr/tkpng/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/tkpng/PKGBUILD b/pcr/tkpng/PKGBUILD
new file mode 100644
index 000000000..35d269f0b
--- /dev/null
+++ b/pcr/tkpng/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer (Arch): SpepS <dreamspepser at yahoo dot it>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+pkgname=tkpng
+pkgver=0.9
+pkgrel=1
+pkgdesc="An open source binary package that adds PNG photo image support to Tcl/Tk."
+arch=(i686 x86_64)
+url="http://www.muonics.com/FreeStuff/TkPNG/"
+license=('custom')
+depends=('tk')
+options=('!emptydirs')
+source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname$pkgver.tgz")
+md5sums=('43347d3d805a5bf3ff428ed812834230')
+
+build() {
+ cd "$srcdir/$pkgname$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+
+ # License file
+ install -Dm 644 license.terms "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: