summaryrefslogtreecommitdiff
path: root/community/nbd/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/nbd/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/nbd/PKGBUILD')
-rw-r--r--community/nbd/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/nbd/PKGBUILD b/community/nbd/PKGBUILD
new file mode 100644
index 000000000..64cf20044
--- /dev/null
+++ b/community/nbd/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 38970 2011-02-04 10:43:11Z ibiru $
+# Maintainer : Ionut Biru <ibiru@archlinux.org>
+# Contributor: Gerhard Brauer <gerbra@archlinux.de>
+pkgname=nbd
+pkgver=2.9.20
+pkgrel=1
+pkgdesc="Tools for network block devices, allowing you to use remote block devices over TCP/IP."
+arch=('i686' 'x86_64')
+url="http://nbd.sourceforge.net"
+license=('GPL')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
+ nbd.conf.d nbd)
+depends=('glib2')
+md5sums=('aec35f6beb7bb4cb2ee267fe0f72c8d6'
+ '6d746f377a28b92dd2c80f01176cb811'
+ 'ab9c431881f5e3c98a8f6c04016f0e00')
+
+build(){
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m644 "${srcdir}"/nbd.conf.d "${pkgdir}"/etc/conf.d/nbd
+ install -D -m755 "${srcdir}"/nbd "${pkgdir}"/etc/rc.d/nbd
+}