diff options
author | Bogdan Sinitsyn | 2017-06-20 12:42:10 +0300 |
---|---|---|
committer | Bogdan Sinitsyn | 2017-06-20 12:42:10 +0300 |
commit | a74069b19b3f533e6f395d3945ea50a559f88eab (patch) | |
tree | f41973036d194e3379eecd1727c9c6e14e6a8096 | |
parent | 88057ca2e5d59870a43ddec713bb8216345ef738 (diff) | |
download | aur-a74069b19b3f533e6f395d3945ea50a559f88eab.tar.gz |
Enchance PKGBUILD
- make directory in prepare()
- surround checksums with quotes
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 10 insertions, 5 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Mon Jun 19 12:24:01 UTC 2017 +# Tue Jun 20 09:41:52 UTC 2017 pkgbase = plasma5-applets-playbar2 pkgdesc = Applet that shows now playing music pkgver = 2.5 - pkgrel = 2 + pkgrel = 3 url = https://github.com/audoban/PlayBar2/ arch = i686 arch = x86_64 @@ -2,7 +2,7 @@ _github_pkgname=PlayBar2 pkgname=plasma5-applets-playbar2 pkgver=2.5 -pkgrel=2 +pkgrel=3 pkgdesc="Applet that shows now playing music" arch=('i686' 'x86_64') url="https://github.com/audoban/PlayBar2/" @@ -21,13 +21,18 @@ conflicts=( ) source=("https://github.com/audoban/$_github_pkgname/archive/v${pkgver}.tar.gz") -sha512sums=(367984610621daecc2e1389d4d30284bdd6cc2842ee81f4638cc14863f449e811d6351ffb8832f5c95e2bb007c6d7c88e7d80f7744d01723527ddc5c6c785c96) +sha512sums=('367984610621daecc2e1389d4d30284bdd6cc2842ee81f4638cc14863f449e811d6351ffb8832f5c95e2bb007c6d7c88e7d80f7744d01723527ddc5c6c785c96') +prepare() { + cd "$srcdir/$_github_pkgname-$pkgver" + + mkdir -p build +} build() { cd "$srcdir/$_github_pkgname-$pkgver" - mkdir -p build && cd build + cd build cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. make } |