summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Graef2015-09-15 18:31:24 +0200
committerAlbert Graef2015-09-15 18:31:24 +0200
commit9708c3cbeeb17040c8ff41bf4076acb6a5aaeff9 (patch)
treec35c7c31fe41e3dfeb97dd38244e5896ea4c0625
downloadaur-9708c3cbeeb17040c8ff41bf4076acb6a5aaeff9.tar.gz
Initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD31
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2e2f7a12c50
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = tkpng
+ pkgdesc = An open source binary package that adds PNG photo image support to Tcl/Tk.
+ pkgver = 0.9
+ pkgrel = 1
+ url = http://www.muonics.com/FreeStuff/TkPNG/
+ arch = i686
+ arch = x86_64
+ license = custom
+ depends = tk
+ options = !emptydirs
+ source = http://downloads.sourceforge.net/project/tkpng/tkpng/0.9/tkpng0.9.tgz
+ md5sums = 43347d3d805a5bf3ff428ed812834230
+
+pkgname = tkpng
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..96b2e47ef85
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: SpepS <dreamspepser at yahoo dot it>
+
+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: