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

Alexander Rødseth arodseth at archlinux.org
Thu Jun 15 09:50:18 UTC 2017


    Date: Thursday, June 15, 2017 @ 09:50:17
  Author: arodseth
Revision: 237119

upgpkg: compton 0.1_beta2.5-6

Modified:
  compton/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++----------------
 1 file changed, 12 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 09:27:06 UTC (rev 237118)
+++ PKGBUILD	2017-06-15 09:50:17 UTC (rev 237119)
@@ -6,41 +6,37 @@
 
 pkgname=compton
 pkgver=0.1_beta2.5
-pkgrel=5
+pkgrel=6
 pkgdesc='X compositor that may fix tearing issues'
 arch=('x86_64' 'i686')
 url='https://github.com/chjj/compton'
 license=('MIT')
-depends=('libgl' 'libdbus' 'libxcomposite' 'libxdamage' 'libxrandr' 'pcre' 'libconfig' 'libxinerama' 'hicolor-icon-theme' 'desktop-file-utils')
+depends=('libgl' 'libdbus' 'libxcomposite' 'libxrandr' 'pcre' 'libconfig' 'libxinerama' 'hicolor-icon-theme' 'desktop-file-utils')
 makedepends=('asciidoc' 'mesa' 'git' 'cmake' 'setconf')
 backup=('etc/xdg/compton.conf')
 optdepends=('dbus:          To control compton via D-Bus'
             'xorg-xwininfo: For compton-trans'
             'xorg-xprop:    For compton-trans')
-source=("git+https://github.com/chjj/compton#commit=b7f43ee"
+source=("git+https://github.com/chjj/compton#commit=316eac0613bf342ff91cc645a6c3c80e6b9083fb"
         'compton.conf')
 sha256sums=('SKIP'
             '89f920e429a28443bf81275927e402b3a953ef8a7160af468ae05913dee5658b')
 
 prepare() {
-  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'
+  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'
 }
 
 build() {
-  COMPTON_VERSION=v$pkgver make -C "$pkgname" PREFIX=/usr compton docs
+  COMPTON_VERSION=v$pkgver PREFIX=/usr make -C "$pkgname" compton docs
 }
 
 package() {
-  cd "$pkgname"
-
-  make PREFIX="$pkgdir/usr" install
-  install -Dm644 compton.sample.conf "$pkgdir/etc/xdg/compton.conf.example"
-  install -Dm644 ../compton.conf "$pkgdir/etc/xdg/compton.conf"
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  PREFIX="$pkgdir/usr" make -C "$pkgname" install
+  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"
 }
 
-# vim:set ts=2 sw=2 et:
+# vim:ts=2 sw=2 et



More information about the arch-commits mailing list