[arch-commits] Commit in rtkit/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Aug 9 23:22:59 UTC 2012


    Date: Thursday, August 9, 2012 @ 19:22:59
  Author: heftig
Revision: 165070

0.11

Modified:
  rtkit/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-08-09 23:15:16 UTC (rev 165069)
+++ PKGBUILD	2012-08-09 23:22:59 UTC (rev 165070)
@@ -3,31 +3,31 @@
 # Contributor: Corrado Primier <bardo at aur.archlinux.org>
 
 pkgname=rtkit
-pkgver=0.10
-pkgrel=4
+pkgver=0.11
+pkgrel=1
 pkgdesc="Realtime Policy and Watchdog Daemon"
 arch=('i686' 'x86_64')
 url="http://git.0pointer.de/?p=rtkit.git"
 license=(GPL 'custom:BSD')
 depends=(dbus polkit)
 install=rtkit.install
-source=(http://0pointer.de/public/$pkgname-$pkgver.tar.gz)
-md5sums=('9ab7f2a25ddf05584ea2216dfe4cefd4')
+source=(http://0pointer.de/public/$pkgname-$pkgver.tar.xz)
+md5sums=('a96c33b9827de66033d2311f82d79a5d')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd $pkgname-$pkgver
 
   ./configure \
     --prefix=/usr \
     --sysconfdir=/etc \
-    --libexecdir=/usr/lib \
+    --libexecdir=/usr/lib/$pkgname \
     --with-systemdsystemunitdir=/usr/lib/systemd/system
 
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
 
   # DBus configuration
@@ -36,6 +36,6 @@
     > "$pkgdir/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml"
 
   # Client license
-  mkdir -p "$pkgdir/usr/share/licenses/rtkit"
-  sed -ne '4,25p' rtkit.c >"$pkgdir/usr/share/licenses/rtkit/COPYING"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  sed -ne '4,25p' rtkit.c >"$pkgdir/usr/share/licenses/$pkgname/COPYING"
 }




More information about the arch-commits mailing list