diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-05-12 16:32:55 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-05-12 16:32:55 -0300 |
commit | e3acfdf0b0b71c3180b756bdc7ff4a8090bb5e00 (patch) | |
tree | da2f71ca3469aea362df4b9885b01bcc068bfc91 /pcr/multipath-tools-git/PKGBUILD | |
parent | 6abc75d5f0c4d5c8302715a7da59cc02d22fbe36 (diff) | |
parent | 8d0f4ac4cbf56fc5c5cadb5ba09c35e3674a886b (diff) | |
download | abslibre-e3acfdf0b0b71c3180b756bdc7ff4a8090bb5e00.tar.gz abslibre-e3acfdf0b0b71c3180b756bdc7ff4a8090bb5e00.tar.bz2 abslibre-e3acfdf0b0b71c3180b756bdc7ff4a8090bb5e00.zip |
Merge branch 'master' of vparabola:abslibre
Conflicts:
pcr/tomb/PKGBUILD
Diffstat (limited to 'pcr/multipath-tools-git/PKGBUILD')
-rw-r--r-- | pcr/multipath-tools-git/PKGBUILD | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/pcr/multipath-tools-git/PKGBUILD b/pcr/multipath-tools-git/PKGBUILD deleted file mode 100644 index d1bb4ac9b..000000000 --- a/pcr/multipath-tools-git/PKGBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Maintainer: Miguel Revilla <yo@miguelrevilla.com> -# Contributor: Alexander Rødseth <rodseth@gmail.com> -# Contributor: Timothée Ravier <tim@siosm.fr> - -pkgname=multipath-tools-git -pkgver=1295.81895af -pkgrel=1 -pkgdesc="Tools to drive the Device Mapper multipathing driver (contains kpartx)" -url="http://christophe.varoqui.free.fr/" -arch=('x86_64' 'i686') -license=('GPL2') -depends=('libaio' 'device-mapper') -makedepends=('git' 'setconf') -options=(!emptydirs) -source=("${pkgname}::git+http://git.opensvc.com/multipath-tools/.git") -md5sums=('SKIP') - -pkgver() { - cd ${pkgname} - echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) -} - -prepare() { - cd ${pkgname} - sed -i 's|/sbin|/usr/bin|g' Makefile.inc - sed -i 's|LIB=lib|LIB=usr/lib|g' Makefile.inc - sed -i 's|${prefix}/lib/udev|${prefix}/usr/lib/udev|g' Makefile.inc - sed -i 's|$(prefix)/lib/systemd/system|$(prefix)/usr/lib/systemd/system|g' Makefile.inc -} - -build() { - cd ${pkgname} - setconf Makefile.inc GZIP '/usr/bin/gzip -9 -c' - make -} - -package() { - cd ${pkgname} - make LIB="/usr/lib" DESTDIR="${pkgdir}" install - install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING - cd "${pkgdir}"/usr/lib - rm libmpathpersist.so - ln -s libmpathpersist.so.0 libmpathpersist.so -} |