summaryrefslogtreecommitdiff
path: root/extra/glsof/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/glsof/PKGBUILD')
-rw-r--r--extra/glsof/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/glsof/PKGBUILD b/extra/glsof/PKGBUILD
new file mode 100644
index 000000000..bd8ccc1fa
--- /dev/null
+++ b/extra/glsof/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 30064 2009-03-16 01:17:32Z eric $
+# Maintainer: Eric Belanger <eric@archlinux.org>
+# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
+
+pkgname=glsof
+pkgver=0.9.16
+pkgrel=5
+pkgdesc="A gtk-GUI for lsof (aka GTK-lsof)"
+arch=('i686' 'x86_64')
+url="http://glsof.sourceforge.net/"
+license=('GPL')
+depends=('libxml2' 'gtk2' 'lsof')
+source=(http://download.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz glsof.desktop)
+md5sums=('5ad5f2a6908be713753d9826c38e3e2c' '1a6ab5bf5ef44ae31b8b7461b76f62db')
+sha1sums=('80f4596ad09c5ddb463bad299a76ce275c0ecd4d' '647be33bea11fec6ba0bfd59c02034dc64925e52')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr || return 1
+ make || return 1
+ make DESTDIR=${pkgdir} install || return 1
+ install -D -m644 ../glsof.desktop ${pkgdir}/usr/share/applications/glsof.desktop || return 1
+ install -d ${pkgdir}/usr/share/pixmaps
+ ln -s /usr/share/glsof/pixmaps/logo.png ${pkgdir}/usr/share/pixmaps/glsof.png
+}