summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdan Sinitsyn2017-06-20 12:42:10 +0300
committerBogdan Sinitsyn2017-06-20 12:42:10 +0300
commita74069b19b3f533e6f395d3945ea50a559f88eab (patch)
treef41973036d194e3379eecd1727c9c6e14e6a8096
parent88057ca2e5d59870a43ddec713bb8216345ef738 (diff)
downloadaur-a74069b19b3f533e6f395d3945ea50a559f88eab.tar.gz
Enchance PKGBUILD
- make directory in prepare() - surround checksums with quotes
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 10 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 21d5d37e910..65266162f12 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index e9681d82b6c..9b1646e6cd5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}