summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Kosteley2015-11-17 12:46:44 +0600
committerVladimir Kosteley2015-11-17 12:46:44 +0600
commit448751b6651070cd1c9ab0d4d173b0fca5aedd0f (patch)
tree8cd32ae069e688a8a819d4269665d07536f92db1
parentde785410010c3fe7facb3f6a34672761d51f0f1b (diff)
downloadaur-448751b6651070cd1c9ab0d4d173b0fca5aedd0f.tar.gz
make install
-rw-r--r--PKGBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e23fcdf6d0d..b112a2d65f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,13 +27,10 @@ build() {
mkdir "$srcdir/build-$_pkgname"
cd "$srcdir/build-$_pkgname"
- cmake "$srcdir/$_pkgname"
+ cmake "$srcdir/$_pkgname" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
cmake --build .
- strip screenshotgun
}
package() {
- install -Dm755 "$srcdir/build-$_pkgname/screenshotgun" "$pkgdir/usr/bin/screenshotgun"
- install -Dm644 "$srcdir/$_pkgname/dist/screenshotgun.desktop" "$pkgdir/usr/share/applications/screenshotgun.desktop"
- install -Dm644 "$srcdir/$_pkgname/dist/screenshotgun.png" "$pkgdir/usr/share/pixmaps/screenshotgun.png"
+ make install/strip
}