blob: cc82175f7d2426a1ddd6b8998f3992a3c121d3e8 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $Id: PKGBUILD 123056 2011-05-07 20:58:12Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=glsof
pkgver=1.0.0
pkgrel=1
pkgdesc="Two separate GUI utilities (Queries and Filemonitor) to the lsof command line utility"
arch=('i686' 'x86_64' 'mips64el')
url="http://glsof.sourceforge.net/"
license=('GPL3')
depends=('java-runtime' 'lsof')
if [ "$CARCH" = "i686" ]; then
source=(http://downloads.sourceforge.net/sourceforge/glsof/filemonitor-${pkgver}/filemonitor_linux32.tar.gz \
http://downloads.sourceforge.net/sourceforge/glsof/queries-${pkgver}/queries_linux32.tar.gz \
glsof-filemonitor glsof-queries)
md5sums=('7a541ee8c432b78f9bfd36dd1707fb8d'
'895bcec79edea97ebde36d7f5eaa3ee9'
'7e43c1120e15e65bd1a12d6f188be4a0'
'980da4b39e1e3f4fbed08018dfd3be7b')
elif [ "$CARCH" = "x86_64" ]; then
source=(http://downloads.sourceforge.net/sourceforge/glsof/filemonitor-${pkgver}/filemonitor_linux64.tar.gz \
http://downloads.sourceforge.net/sourceforge/glsof/queries-${pkgver}/queries_linux64.tar.gz \
glsof-filemonitor glsof-queries)
md5sums=('9a6043b0b90fbc6de4db36967647dab0'
'ed96ee2105428aa8b038f5fe13b8cd1d'
'7e43c1120e15e65bd1a12d6f188be4a0'
'980da4b39e1e3f4fbed08018dfd3be7b')
fi
package() {
cd "${srcdir}"
install -D -m755 glsof-filemonitor "${pkgdir}/usr/bin/glsof-filemonitor"
install -D -m755 glsof-queries "${pkgdir}/usr/bin/glsof-queries"
install -D -m644 filemonitor_linux??/filemonitor.jar "${pkgdir}/usr/share/java/glsof/filemonitor.jar"
install -D -m644 filemonitor_linux??/filemonitor.pdf "${pkgdir}/usr/share/doc/glsof/filemonitor.pdf"
install -D -m644 queries_linux??/queries.jar "${pkgdir}/usr/share/java/glsof/queries.jar"
install -D -m644 queries_linux??/queries.pdf "${pkgdir}/usr/share/doc/glsof/queries.pdf"
}
|