summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD25
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0ff3f570c3b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = mgw
+ pkgdesc = Image viewer with tiny filters
+ pkgver = 1.0.2
+ pkgrel = 1
+ url = https://sourceforge.net/projects/mgw/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = libgnomeui
+ depends = gtk2
+ source = http://sourceforge.net/projects/mgw/files/mgw/mgw-1.0.2/mgw-1.0.2.tar.gz
+ sha256sums = 7a53de53a56d538112f38e75b06157b5f6c0ca4417af9d6ac177a33e2dd466ac
+
+pkgname = mgw
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6fbc92712f7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+
+pkgname=mgw
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="Image viewer with tiny filters"
+arch=('i686' 'x86_64')
+url="https://sourceforge.net/projects/mgw/"
+license=('GPL')
+depends=('libgnomeui' 'gtk2')
+source=(http://sourceforge.net/projects/mgw/files/mgw/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('7a53de53a56d538112f38e75b06157b5f6c0ca4417af9d6ac177a33e2dd466ac')
+
+build() {
+ cd "${srcdir}"/$pkgname-$pkgver
+
+ ./configure --prefix=/usr LIBS="-lm"
+ make
+}
+
+package() {
+ cd "${srcdir}"/$pkgname-$pkgver
+
+ make DESTDIR="${pkgdir}" install
+}