pkgbuild for gscanbus

This commit is contained in:
Cedric Girard 2010-12-23 14:42:25 +01:00
commit 8b24b06220
2 changed files with 44 additions and 0 deletions

15
.SRCINFO Normal file
View file

@ -0,0 +1,15 @@
pkgbase = gscanbus
pkgdesc = gscanbus is a little bus scanning, testing and topology visualizing tool for the Linux IEEE1394 subsystem
pkgver = 0.8
pkgrel = 1
url = http://gscanbus.berlios.de/
arch = i686
arch = x86_64
license = GPL
depends = libraw1394>=1.2.0
depends = gtk2
source = http://download.berlios.de/gscanbus/gscanbus-0.8.tar.gz
md5sums = 086bed2bcfb43f2ae892a12de699630e
pkgname = gscanbus

29
PKGBUILD Normal file
View file

@ -0,0 +1,29 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
# Contributor : Jason Chu <jason@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=gscanbus
pkgver=0.8
pkgrel=1
pkgdesc="gscanbus is a little bus scanning, testing and topology visualizing tool for the Linux IEEE1394 subsystem"
arch=('i686' 'x86_64')
depends=('libraw1394>=1.2.0' 'gtk2')
source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('086bed2bcfb43f2ae892a12de699630e')
url="http://gscanbus.berlios.de/"
license=('GPL')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc/gscanbus
make
}
package() {
cd ${srcdir}/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
#mkdir -p ${pkgdir}/etc/gscanbus
#mv ${pkgdir}/usr/etc/* ${pkgdir}/etc/gscanbus/
#rmdir ${pkgdir}/usr/etc
}