PKGBUILDs/extra/glsof/PKGBUILD
2009-10-09 21:23:22 -05:00

25 lines
996 B
Bash

# $Id: PKGBUILD 30075 2009-03-16 03:01:40Z 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
}