summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhazard2015-07-08 00:04:21 -0700
committerhazard2015-07-08 00:04:21 -0700
commitada0547e0811f352533de8baf0a67342993b4663 (patch)
tree29f246c11f916dd281e4ac516d8b7c7a0769f49e
downloadaur-gtkdialog-examples.tar.gz
Package imported by apac-migrate
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD39
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..34932dea7a7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = gtkdialog-examples
+ pkgdesc = Sample projects: pfeme, pfontview, playmusic
+ pkgver = 0.1.1
+ pkgrel = 2
+ url = http://code.google.com/p/gtkdialog/
+ arch = any
+ license = GPL
+ depends = gtkdialog
+ source = https://github.com/oshazard/gtkdialog-examples/raw/master/pfeme-0.1.1.tar.gz
+ source = https://github.com/oshazard/gtkdialog-examples/raw/master/pfontview-0.1.3.tar.gz
+ source = https://github.com/oshazard/gtkdialog-examples/raw/master/playmusic-0.1.8.tar.gz
+ md5sums = a09ecfb90dc9f16702d6a1a9f228d65b
+ md5sums = be079eed34073305ffcd5ea664f9fdaa
+ md5sums = c98c861e52378def443e768fb2946992
+
+pkgname = gtkdialog-examples
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a46e6d6b333
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: OS Hazard <oshazard+aur@gmail.com>
+
+pkgname=gtkdialog-examples
+pkgver=0.1.1
+pkgrel=2
+pkgdesc="Sample projects: pfeme, pfontview, playmusic"
+arch=('any')
+url="http://code.google.com/p/gtkdialog/"
+license=("GPL")
+depends=('gtkdialog')
+source=(https://github.com/oshazard/gtkdialog-examples/raw/master/pfeme-0.1.1.tar.gz
+ https://github.com/oshazard/gtkdialog-examples/raw/master/pfontview-0.1.3.tar.gz
+ https://github.com/oshazard/gtkdialog-examples/raw/master/playmusic-0.1.8.tar.gz)
+md5sums=('a09ecfb90dc9f16702d6a1a9f228d65b'
+ 'be079eed34073305ffcd5ea664f9fdaa'
+ 'c98c861e52378def443e768fb2946992')
+
+_samples="pfeme-$pkgver pfontview-0.1.3 playmusic-0.1.8";
+
+build() {
+ cd $srcdir
+ for sample in $_samples; do
+ cd "$sample"
+ msg "Building $sample..."
+ make
+ cd ..
+ done;
+}
+
+package() {
+ cd $srcdir
+ for sample in $_samples; do
+ cd "$sample"
+ msg "Building $sample..."
+ make DESTDIR=$pkgdir UPDATE_ICON_CACHE=true install
+ cd ..
+ done;
+}
+