diff options
author | Doug Newgard | 2015-08-10 21:51:12 -0500 |
---|---|---|
committer | Doug Newgard | 2015-08-10 21:51:12 -0500 |
commit | 77542b68f220cdeb569bec2ba1c61c23b18408ce (patch) | |
tree | 029cda005dbe52eaa73c854a6ae1768e645a5ed2 | |
parent | 62b00cf6f0a657eb65d7d3effd323245fda8068f (diff) | |
download | aur-lightmediascanner-git.tar.gz |
Simplify
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 7 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = lightmediascanner-git pkgdesc = Lightweight library to scan media - Development version - pkgver = 0.5.0.r0.g2f4dd51 + pkgver = 0.5.1.r18.gadfddb3 pkgrel = 1 url = https://github.com/profusion/lightmediascanner arch = i686 @@ -11,7 +11,7 @@ pkgbase = lightmediascanner-git depends = libmp4v2 depends = ffmpeg depends = file - provides = lightmediascanner=0.5.0.r0.g2f4dd51 + provides = lightmediascanner=0.5.1.r18.gadfddb3 conflicts = lightmediascanner source = git://github.com/profusion/lightmediascanner.git sha256sums = SKIP @@ -3,7 +3,7 @@ _pkgname=lightmediascanner pkgname=$_pkgname-git -pkgver=0.5.0.r0.g2f4dd51 +pkgver=0.5.1.r18.gadfddb3 pkgrel=1 pkgdesc="Lightweight library to scan media - Development version" arch=('i686' 'x86_64') @@ -17,13 +17,13 @@ source=("git://github.com/profusion/$_pkgname.git") sha256sums=('SKIP') pkgver() { - cd "$srcdir/$_pkgname" + cd $_pkgname git describe --tags --long | sed 's/^release_//;s/-/.r/;s/-/./g' } build() { - cd "$srcdir/$_pkgname" + cd $_pkgname export CFLAGS="$CFLAGS -fvisibility=hidden" @@ -34,11 +34,10 @@ build() { } package() { - cd "$srcdir/$_pkgname" + cd $_pkgname make DESTDIR="$pkgdir" install # install text files - install -d "$pkgdir/usr/share/doc/$_pkgname/" - install -m644 -t "$pkgdir/usr/share/doc/$_pkgname/" AUTHORS NEWS README TODO + install -Dm644 -t "$pkgdir/usr/share/doc/$_pkgname/" AUTHORS NEWS README TODO } |