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

Sergej Pupykin spupykin at archlinux.org
Tue Dec 11 13:30:41 UTC 2018


    Date: Tuesday, December 11, 2018 @ 13:30:40
  Author: spupykin
Revision: 415312

upgpkg: unclutter 1.4-1

Modified:
  unclutter/trunk/PKGBUILD

----------+
 PKGBUILD |   40 +++++++++++++++++++++-------------------
 1 file changed, 21 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-11 13:25:45 UTC (rev 415311)
+++ PKGBUILD	2018-12-11 13:30:40 UTC (rev 415312)
@@ -1,31 +1,33 @@
 # Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
 # Contributor: Callan Barrett <wizzomafizzo at gmail.com>
 # Contributor: Anthony Martin <ality at pbrane.org>
 
+_pkgname=unclutter-xfixes
 pkgname=unclutter
-pkgver=8
-pkgrel=11
-pkgdesc="A small program for hiding the mouse cursor"
-url="http://www.ibiblio.org/pub/X11/contrib/utilities/unclutter-8.README"
+pkgver=1.4
+pkgrel=1
+pkgdesc='A small program for hiding the mouse cursor'
+url="https://github.com/Airblader/${_pkgname}"
 arch=('x86_64')
-license=('Public Domain')
-depends=('libxext')
-makedepends=('imake')
-source=(https://www.ibiblio.org/pub/X11/contrib/utilities/$pkgname-$pkgver.tar.gz
-	https://www.ibiblio.org/pub/X11/contrib/utilities/$pkgname-$pkgver.README)
-sha512sums=('863dc6d0b15d865a3367d3528373b74a228f5960f2912dd6ad1d74c4feebe7cc637a2ec02cd8e88e0396a0fdaf0f7960dccff0d2b333b554d602d8376f868665'
-            '27a0263042cc541a63e3ee6d8028cefbe9d9d8b47193828741e159f8d1782c5bc0f9f83a938b7465b3ed6b6e0f84037110ded8124f18d68d24022e7bde5ee7c4')
+license=('MIT')
+depends=('libxi' 'libx11' 'libxfixes' 'libev')
+makedepends=('asciidoc')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('f28cd690cfa184fddd3961dda49d14e114dccd5e70d9bac8ca5ebcd5124985b3')
 
 build() {
-  cd "$srcdir"/$pkgname
-  xmkmf -a
-  make
+    cd "${_pkgname}-${pkgver}"
+    make all
 }
 
 package() {
-  cd "$srcdir"/$pkgname
-  make DESTDIR="$pkgdir" install
-  install -Dm0644 unclutter.man "$pkgdir"/usr/share/man/man1/unclutter.1
-  install -Dm0644 "$srcdir"/unclutter-8.README "$pkgdir"/usr/share/licenses/$pkgname/unclutter-8.README
+    cd "${_pkgname}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+
+    # TODO remove in the next version: https://github.com/Airblader/unclutter-xfixes/pull/37
+    install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
 }
+
+# vim:set ts=4 sw=4 et:



More information about the arch-commits mailing list