summaryrefslogtreecommitdiff
path: root/community/nbd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/nbd/PKGBUILD')
-rw-r--r--community/nbd/PKGBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/community/nbd/PKGBUILD b/community/nbd/PKGBUILD
index ed01dd9fa..bf8a4471c 100644
--- a/community/nbd/PKGBUILD
+++ b/community/nbd/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 88083 2013-04-11 08:51:54Z svenstaro $
+# $Id: PKGBUILD 90984 2013-05-16 23:49:59Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Christian Hesse <mail@eworm.de>
# Contributor: Ionut Biru <ibiru@archlinux.org>
@@ -6,25 +6,24 @@
pkgname=nbd
pkgver=3.3
-pkgrel=1
+pkgrel=3
pkgdesc="tools for network block devices, allowing you to use remote block devices over TCP/IP"
arch=('i686' 'x86_64' 'mips64el')
url="http://nbd.sourceforge.net"
license=('GPL')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
- config nbd nbd.service)
+ config nbd.service)
backup=('etc/nbd-server/config')
depends=('glib2')
install=nbd.install
md5sums=('cde8fe6e870b8a7459f12e5dcf572d86'
'2d05d426b8c2708d5f8a0d028fcbae05'
- 'e7b13a8b3369e11927d9917664557efa'
'5d1acc143018117174f79eff15afa038')
build(){
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc --enable-syslog
+ ./configure --prefix=/usr --sysconfdir=/etc --enable-syslog --sbindir=/usr/bin
make
}
@@ -35,7 +34,6 @@ package() {
make DESTDIR="${pkgdir}" install
install -D -m644 "${srcdir}"/config "${pkgdir}"/etc/nbd-server/config
- install -D -m755 "${srcdir}"/nbd "${pkgdir}"/etc/rc.d/nbd
install -D -m644 "${srcdir}"/nbd.service "${pkgdir}"/usr/lib/systemd/system/nbd.service
install -D -m644 README "${pkgdir}"/usr/share/doc/nbd/README