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

Alexander Rødseth arodseth at archlinux.org
Mon Nov 20 11:30:19 UTC 2017


    Date: Monday, November 20, 2017 @ 11:30:17
  Author: arodseth
Revision: 267538

upgpkg: compton 0.1_beta2.5-9

Modified:
  compton/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-20 11:30:08 UTC (rev 267537)
+++ PKGBUILD	2017-11-20 11:30:17 UTC (rev 267538)
@@ -6,13 +6,13 @@
 
 pkgname=compton
 pkgver=0.1_beta2.5
-pkgrel=8
+pkgrel=9
 pkgdesc='X compositor that may fix tearing issues'
 arch=('x86_64')
 url='https://github.com/chjj/compton'
 license=('MIT')
-depends=('libgl' 'libdbus' 'libxcomposite' 'libxrandr' 'pcre' 'libconfig' 'libxinerama' 'hicolor-icon-theme' 'desktop-file-utils')
-makedepends=('asciidoc' 'mesa' 'git' 'cmake' 'setconf')
+depends=('hicolor-icon-theme' 'libconfig' 'libdbus' 'libgl' 'libxcomposite' 'libxinerama' 'libxrandr')
+makedepends=('asciidoc' 'cmake' 'git' 'mesa' 'setconf')
 backup=('etc/xdg/compton.conf')
 optdepends=('dbus:          To control compton via D-Bus'
             'xorg-xwininfo: For compton-trans'
@@ -23,20 +23,23 @@
             '89f920e429a28443bf81275927e402b3a953ef8a7160af468ae05913dee5658b')
 
 prepare() {
-  setconf "$pkgname/$pkgname.desktop" Exec 'compton --xrender-sync-fence'
-  setconf "$pkgname/$pkgname.desktop" TryExec 'compton --xrender-sync-fence'
-  setconf "$pkgname/$pkgname.desktop" Comment 'Compositor for X11'
+  cd $pkgname
+
+  setconf $pkgname.desktop Exec 'compton --xrender-sync-fence'
+  setconf $pkgname.desktop TryExec 'compton --xrender-sync-fence'
+  setconf $pkgname.desktop Comment 'Compositor for X11'
 }
 
 build() {
-  COMPTON_VERSION=v$pkgver PREFIX=/usr make -C "$pkgname" compton docs
+  COMPTON_VERSION="v$pkgver" PREFIX=/usr make -C "$pkgname" compton docs
 }
 
 package() {
   PREFIX="$pkgdir/usr" make -C "$pkgname" install
-  install -Dm644 "$pkgname/compton.sample.conf" "$pkgdir/etc/xdg/compton.conf.example"
+
+  install -Dm644 $pkgname/compton.sample.conf "$pkgdir/etc/xdg/compton.conf.example"
   install -Dm644 compton.conf "$pkgdir/etc/xdg/compton.conf"
-  install -Dm644 "$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 $pkgname/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
-# vim:ts=2 sw=2 et
+# vim: ts=2 sw=2 et



More information about the arch-commits mailing list