diff options
author | Brian Bidulock | 2015-07-09 18:16:25 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-07-09 18:16:25 -0600 |
commit | 95d32c204e4801bacee14d1cf0b2422b4dad2a13 (patch) | |
tree | 0f25161394a600861f86b58411d02ac1212ef8b1 | |
download | aur-95d32c204e4801bacee14d1cf0b2422b4dad2a13.tar.gz |
initial version
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 24 | ||||
-rw-r--r-- | gqview.install | 11 |
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b3b9c44a21d5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = gqview + pkgdesc = An image browser and viewer + pkgver = 2.0.4 + pkgrel = 5 + url = http://gqview.sourceforge.net/ + install = gqview.install + arch = i686 + arch = x86_64 + license = GPL + depends = gtk2 + depends = desktop-file-utils + source = http://downloads.sourceforge.net/gqview/gqview-2.0.4.tar.gz + md5sums = 7196deab04db94cec2167637cddc02f9 + +pkgname = gqview + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bc16beb954d2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: toni <antoniogmc@gmail.com> + +pkgname=gqview +pkgver=2.0.4 +pkgrel=5 +pkgdesc="An image browser and viewer" +arch=('i686' 'x86_64') +url="http://gqview.sourceforge.net/" +license=('GPL') +depends=('gtk2' 'desktop-file-utils') +install=gqview.install +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) +md5sums=('7196deab04db94cec2167637cddc02f9') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + CPPFLAGS="-D_FILE_OFFSET_BITS=64" LDFLAGS="-lm" ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/gqview.install b/gqview.install new file mode 100644 index 000000000000..2eaa60550d51 --- /dev/null +++ b/gqview.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |