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

Morten Linderud foxboron at archlinux.org
Wed Oct 18 21:37:17 UTC 2017


    Date: Wednesday, October 18, 2017 @ 21:37:16
  Author: foxboron
Revision: 263298

upgpkg: rofi 1.4.2-1

Updated rofi x86_64

Modified:
  rofi/trunk/PKGBUILD

----------+
 PKGBUILD |   52 +++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 39 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-18 21:19:05 UTC (rev 263297)
+++ PKGBUILD	2017-10-18 21:37:16 UTC (rev 263298)
@@ -1,5 +1,6 @@
 # $Id$
-# Maintainer: Anatol Pomozov
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Anatol Pomozov
 # Contributor: Benjamin Chrétien <chretien + aur [at] lirmm [dot] fr>
 # Contributor: Eric Engestrom <aur [at] engestrom [dot] ch>
 # Contributor: Rasi <rasi at xssn.at>
@@ -7,31 +8,56 @@
 # Contributor: SanskritFritz (gmail)
 
 pkgname=rofi
-pkgver=1.3.1
-pkgrel=2
-pkgdesc='Popup window switcher roughly based on superswitcher, requiring only xlib and xft'
+pkgver=1.4.2
+pkgrel=1
+_commit=1ab3e571eca1768d437246ca6ec09f44432b0e20
+pkgdesc='A window switcher, application launcher and dmenu replacement'
 arch=(i686 x86_64)
-url='https://davedavenport.github.io/rofi/'
+url='https://github.com/DaveDavenport/rofi/'
 license=(MIT)
-depends=(libx11 libxft freetype2 libxdg-basedir pango startup-notification libxcb libxkbcommon libxkbcommon-x11 xcb-util xcb-util-wm xcb-util-xrm)
-makedepends=(i3-wm)
+depends=(libx11 libxft freetype2 libxdg-basedir 
+	pango startup-notification libxcb 
+	libxkbcommon libxkbcommon-x11 xcb-util 
+	xcb-util-wm xcb-util-xrm librsvg)
+makedepends=(meson git)
+checkdepends=(check)
 optdepends=('i3-wm: use as a window switcher')
-source=(https://github.com/DaveDavenport/rofi/releases/download/$pkgver/rofi-$pkgver.tar.xz)
-sha256sums=('b52cf1170f5c7c38f6399ee44f23ebbd87ac349d6a34f32f5d169966765c87e8')
+source=("git+https://github.com/DaveDavenport/rofi#commit=$_commit"
+	'git+https://github.com/sardemff7/libgwater'
+	'git+https://github.com/sardemff7/libnkutils')
+sha256sums=('SKIP'
+	    'SKIP'
+	    'SKIP')
+#source=("https://github.com/DaveDavenport/rofi/releases/download/$pkgver/rofi-$pkgver.tar.xz")
+#sha256sums=('1a8df8c84316ac0c2b1e9985b346875d8ae4142cbec83f9961a63c73de624984')
 
+prepare() {
+  cd rofi
+
+  for module in libgwater libnkutils; do
+    local submodule="subprojects/${module}"
+    git submodule init "${submodule}"
+    git config "submodule.${submodule}.url" "${srcdir}/${module}"
+    git submodule update "${submodule}"
+  done
+}
+
 build() {
-  cd rofi-$pkgver
+  #cd rofi
+  #arch-meson build
+  cd rofi
+  autoreconf -i
   ./configure --prefix=/usr --sysconfdir=/etc
   make
 }
 
 check() {
-  cd rofi-$pkgver
-  make check
+  cd rofi
+  LC_ALL=C make check
 }
 
 package() {
-  cd rofi-$pkgver
+  cd rofi
   make install install-man DESTDIR="$pkgdir"
 
   install -Dm644 COPYING "$pkgdir/usr/share/licenses/rofi/COPYING"



More information about the arch-commits mailing list