aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2013-10-22 19:02:49 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:38 +0200
commit1ed4c3e6456295f425710f38e8903a8aa5fdc714 (patch)
tree6b980013fa9850f645cee5088411feb924838e62
parent7423b3d748e61cfbf59497a91c4b8f14c4fabacb (diff)
downloadpkgbuilds-1ed4c3e6456295f425710f38e8903a8aa5fdc714.tar.xz
quassel-light: cleaned up package() function
-rw-r--r--PKGBUILD14
1 files changed, 3 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d0962ee..545a6bb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,14 +18,12 @@ backup=(etc/conf.d/quassel)
source=("http://quassel-irc.org/pub/quassel-$pkgver.tar.bz2"
'quassel.service'
'quassel.conf')
-
sha256sums=('39e97bd67160d6575a57d4f71c4b1be5c13461ca238baef462ab43164419864e'
'91a1aaae47d41c11aa418dd560039ddbbfb659e02b86379d8c4789c5ada362d3'
'f3031ea8217e01ba42cea14606169e3e27affa5918968ffd5a03c21ae92fe2b8')
build() {
cd quassel-$pkgver
-
cmake -DCMAKE_INSTALL_PREFIX=/usr/ \
-DWITH_KDE=OFF \
-DWITH_WEBKIT=OFF \
@@ -33,19 +31,13 @@ build() {
-DWITH_LIBINDICATE=OFF \
-DCMAKE_BUILD_TYPE="Release" \
-Wno-dev
-
make
}
package() {
- cd quassel-$pkgver
- make DESTDIR="$pkgdir" install
-
- install -Dm644 "$srcdir"/quassel.service \
- "$pkgdir"/usr/lib/systemd/system/quassel.service
-
- install -Dm644 "$srcdir"/quassel.conf \
- "$pkgdir"/etc/conf.d/quassel
+ make -C quassel-$pkgver DESTDIR="$pkgdir" install
+ install -Dm644 quassel.service "$pkgdir"/usr/lib/systemd/system/quassel.service
+ install -Dm644 quassel.conf "$pkgdir"/etc/conf.d/quassel
}
# vim: set ts=4 sw=4 noet: