# $Id: PKGBUILD 30064 2009-03-16 01:17:32Z eric $ # Maintainer: Eric Belanger # Contributor: Damir Perisa pkgname=glsof pkgver=0.9.16 pkgrel=5 pkgdesc="A gtk-GUI for lsof (aka GTK-lsof)" arch=('i686' 'x86_64' 'mips64el') 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 }