summaryrefslogtreecommitdiff
path: root/extra/glsof/PKGBUILD
blob: bd8ccc1fa8affbe341b1d51d23b9a5934cd90f11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}