[arch-commits] Commit in kajongg/kde-unstable (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Mar 25 09:11:15 UTC 2017
Date: Saturday, March 25, 2017 @ 09:11:14
Author: arojas
Revision: 291499
Fix installing executables
Modified:
kajongg/kde-unstable/PKGBUILD
----------+
PKGBUILD | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-25 08:22:34 UTC (rev 291498)
+++ PKGBUILD 2017-03-25 09:11:14 UTC (rev 291499)
@@ -5,7 +5,7 @@
pkgname=kajongg
pkgver=17.03.80
-pkgrel=1
+pkgrel=2
pkgdesc="The ancient Chinese board game for 4 players"
url="https://kde.org/applications/games/kajongg/"
arch=(any)
@@ -25,15 +25,11 @@
mkdir -p build
}
-build() {
+package() {
cd build
+ export DESTDIR="$pkgdir"
cmake ../$pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
- make
+ make install
}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
-}
More information about the arch-commits
mailing list