diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-06 22:41:24 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-06 22:41:24 (GMT) |
commit | dee1e8deb2f6c0605efa0a25f94c28f5cc53bc02 (patch) | |
tree | e968446b751457f05848dbb0225224b6ed96eb15 /abs/core/dmraid/PKGBUILD | |
parent | 52766cbe0436d9b097c6ccbb6428c9826ba24932 (diff) | |
download | linhes_pkgbuild-dee1e8deb2f6c0605efa0a25f94c28f5cc53bc02.zip linhes_pkgbuild-dee1e8deb2f6c0605efa0a25f94c28f5cc53bc02.tar.gz linhes_pkgbuild-dee1e8deb2f6c0605efa0a25f94c28f5cc53bc02.tar.bz2 |
dmraid: 1.0.0
Diffstat (limited to 'abs/core/dmraid/PKGBUILD')
-rw-r--r-- | abs/core/dmraid/PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/abs/core/dmraid/PKGBUILD b/abs/core/dmraid/PKGBUILD new file mode 100644 index 0000000..39f3672 --- /dev/null +++ b/abs/core/dmraid/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 162150 2012-06-22 12:53:50Z dreisner $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +#Contributor: Urs Wolfer <uwolfer @ fwo.ch> + +pkgname=dmraid +pkgver=1.0.0.rc16.3 +pkgrel=7 +pkgdesc="Device mapper RAID interface" +url="http://people.redhat.com/~heinzm/sw/dmraid/" +conflicts=('mkinitcpio<0.7') +depends=('device-mapper>=2.0.54') +arch=('i686' 'x86_64') +license=('GPL') +source=(#ftp://ftp.archlinux.org/other/dmraid/$pkgname-$pkgver.tar.bz2 + http://people.redhat.com/~heinzm/sw/dmraid/src/$pkgname-1.0.0.rc16-3.tar.bz2 + dmraid_install + dmraid_hook + dmraid_tmpfiles + dmraid.service) +install=dmraid.install +md5sums=('819338fcef98e8e25819f0516722beeb' + '2297d23cee1aef23ec6ad8d6d1870356' + 'faec669dc85f87187b45b5d3968efe2c' + '56a8bb0ece8d206cd8efb504ee072ddd' + 'de0af1fdb9ed4c109b8119160167d2e9') + +build() { + cd "$pkgname/1.0.0.rc16-3/$pkgname" + ./configure --enable-led --enable-intel_led + make +} + +package() { + cd "$pkgname/1.0.0.rc16-3/$pkgname" + make DESTDIR="$pkgdir" prefix=/usr libdir=/usr/lib mandir=/usr/share/man includedir=/usr/include install + install -D -m644 "$srcdir"/dmraid_install "$pkgdir"/usr/lib/initcpio/install/dmraid + install -D -m644 "$srcdir"/dmraid_hook "$pkgdir"/usr/lib/initcpio/hooks/dmraid + install -D -m644 "$srcdir"/dmraid_tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/dmraid.conf + + # fix permissions + chmod 644 "$pkgdir"/usr/include/dmraid/* "$pkgdir"/usr/lib/libdmraid.a + + install -Dm644 "$srcdir/dmraid.service" "$pkgdir/usr/lib/systemd/system/dmraid.service" +} |