diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-22 10:52:18 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-22 10:52:18 -0400 |
commit | 908d987dd1dcd4899f8f7f0878514c22ca8048b7 (patch) | |
tree | 29bf5986774207c3453044e1f370fb98d2431265 /pcr/pmount/PKGBUILD | |
parent | 308bfb446305a96dffce945b6c4fb82b10d1b91b (diff) | |
parent | 8351d69e64a40d68fa32cfeea227b6fcf7afe974 (diff) | |
download | abslibre-908d987dd1dcd4899f8f7f0878514c22ca8048b7.tar.gz abslibre-908d987dd1dcd4899f8f7f0878514c22ca8048b7.tar.bz2 abslibre-908d987dd1dcd4899f8f7f0878514c22ca8048b7.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/pmount/PKGBUILD')
-rw-r--r-- | pcr/pmount/PKGBUILD | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/pcr/pmount/PKGBUILD b/pcr/pmount/PKGBUILD index a35dc01c8..46c2b0358 100644 --- a/pcr/pmount/PKGBUILD +++ b/pcr/pmount/PKGBUILD @@ -3,9 +3,9 @@ pkgname=pmount pkgver=0.9.23 -pkgrel=5 +pkgrel=7 pkgdesc="mount removable devices as normal user" -arch=(i686 x86_64) +arch=(i686 x86_64 mips64el) license=('GPL2') url="http://pmount.alioth.debian.org/" backup=('etc/pmount.allow') @@ -13,10 +13,15 @@ depends=('sysfsutils>=2.0.0-1' 'util-linux') makedepends=('intltool') source=( https://alioth.debian.org/frs/download.php/3310/${pkgname}-${pkgver}.tar.bz2 - 'http://anonscm.debian.org/gitweb/?p=pmount/pmount-debian.git;a=blob_plain;f=debian/completion/pmount') + 'http://anonscm.debian.org/gitweb/?p=pmount/pmount-debian.git;a=blob_plain;f=debian/completion/pmount' + https://alioth.debian.org/tracker/download.php/31157/412979/313576/4753/fix-pmount-segfault.diff +) build() { + export CFLAGS="${CFLAGS} -fPIE -pie" + export CXXFLAGS="${CXXFLAGS} -fPIE -pie" cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i ${srcdir}/fix-pmount-segfault.diff ./configure --prefix=/usr --disable-hal \ --with-cryptsetup-prog=/usr/sbin/cryptsetup make @@ -26,6 +31,8 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -Dm644 ${srcdir}/pmount ${pkgdir}/usr/share/bash-completion/completions/pmount + mkdir -p ${pkgdir}/media } md5sums=('db19f5bf3151b1b41705ec7bafa439d3' - '224f24127f8ab3605de8b9bcb433882f') + '224f24127f8ab3605de8b9bcb433882f' + '5b223bce1fb262bbb98c541725f5e985') |