summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLlewelyn Trahaearn2016-03-27 11:00:48 -0700
committerLlewelyn Trahaearn2016-03-27 11:00:48 -0700
commitb035bf3e83ea6ee93ce64af3306faf2aa06751ba (patch)
treef673b00de201daf6444c0e24b340376600c2abba
parent31138d4d579e1688c3732b98ea2513255118005e (diff)
downloadaur-b035bf3e83ea6ee93ce64af3306faf2aa06751ba.tar.gz
Minor statment tuning.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0a53f58396c..6b5a8f4c1d6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Mon Feb 8 20:39:43 UTC 2016
+# Sun Mar 27 18:00:31 UTC 2016
pkgbase = vsxu
pkgdesc = A free to use program that lets you create and perform real-time audio visual presets.
pkgver = 0.5.1
diff --git a/PKGBUILD b/PKGBUILD
index 239cdfa0218..fd8c7c45bba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,12 +22,13 @@ source=("https://github.com/vovoid/vsxu/archive/v${pkgver}.tar.gz")
sha512sums=('e77d8e7300a43ceeb59cf39771f0d8ac8930cebffb4d25305a9e245fd5e2d668e126267227c5334f999688307f8b22cf30183c495137f7490942d78581d0d4a6')
prepare() {
+ cd "${pkgname}-${pkgver}"
[[ -d build ]] || mkdir build
}
build() {
- cd "${srcdir}/build"
- cmake ../"${pkgname}-${pkgver}" -DCMAKE_INSTALL_PREFIX=/usr \
+ cd "${pkgname}-${pkgver}/build"
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
-DGLFW_LIBRARY=/usr/lib/libglfw2.so \
-DPNG_LIBRARY=/usr/lib/libpng12.so \
-DPNG_PNG_INCLUDE_DIR=/usr/include/libpng12
@@ -35,9 +36,9 @@ build() {
}
package() {
- cd "${srcdir}/build"
+ cd "${pkgname}-${pkgver}/build"
make DESTDIR="${pkgdir}" install
# License.
- install -Dm644 "../${pkgname}-${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 "../COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}