diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2015-05-28 11:29:47 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2015-05-28 11:29:47 -0300 |
commit | fcb2d26cfa3b265200b5ae9e949d787a56bd4f14 (patch) | |
tree | 60bf5147d7608e6217b37e6807c386b3a43a2b36 /pcr/places/PKGBUILD | |
parent | 19fe7e7da672746eea0c2cae0307cea5e54fb23e (diff) | |
parent | b0bb663657922f0154dd8d60a6d5455f9a2bfe3c (diff) | |
download | abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.tar.gz abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.tar.bz2 abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.zip |
Merge branch 'master' of git://projects.parabola.nu/abslibre/abslibre
Diffstat (limited to 'pcr/places/PKGBUILD')
-rw-r--r-- | pcr/places/PKGBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/pcr/places/PKGBUILD b/pcr/places/PKGBUILD new file mode 100644 index 000000000..decc56842 --- /dev/null +++ b/pcr/places/PKGBUILD @@ -0,0 +1,49 @@ +# Contributor (Arch): Doug Newgard <scimmia at archlinux dot info> +# Contributor (Arch): fancris3 <fancris3 at aol.com> +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> + +_pkgname=places +pkgname=$_pkgname +pkgver=0.19.r197.b736f06 +pkgrel=1 +pkgdesc="Enlightenment module: Manage the mounting of volumes" +arch=('i686' 'x86_64') +url="https://phab.enlightenment.org/w/emodules/places/" +license=('MIT') +depends=('enlightenment<0.19.99' 'udisks') +makedepends=('git') +source=("git://git.enlightenment.org/enlightenment/modules/$_pkgname.git#branch=enlightenment-0.19") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/$_pkgname" + + local v_ver=$(awk -F , '/^AC_INIT/ {gsub(/[\[\] -]/, ""); print $2}' configure.ac) + + printf "$v_ver.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/$_pkgname" + + ./autogen.sh \ + --prefix=/usr \ + --disable-static + + make +} + +package() { + cd "$srcdir/$_pkgname" + + make DESTDIR="$pkgdir" install + +# install text files + install -Dm644 ChangeLog "$pkgdir/usr/share/doc/$_pkgname/ChangeLog" + install -Dm644 NEWS "$pkgdir/usr/share/doc/$_pkgname/NEWS" + install -Dm644 README "$pkgdir/usr/share/doc/$_pkgname/README" + +# install license files + install -Dm644 AUTHORS "$pkgdir/usr/share/licenses/$pkgname/AUTHORS" + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} |