[arch-commits] Commit in rofi/repos/community-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Wednesday, October 18, 2017 @ 21:37:26
  Author: foxboron
Revision: 263299

archrelease: copy trunk to community-x86_64

Added:
  rofi/repos/community-x86_64/PKGBUILD
    (from rev 263298, rofi/trunk/PKGBUILD)
Deleted:
  rofi/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  106 +++++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 66 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-18 21:37:16 UTC (rev 263298)
+++ PKGBUILD	2017-10-18 21:37:26 UTC (rev 263299)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: 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>
-# Contributor: Sean Pringle <sean.pringle at gmail.com>
-# Contributor: SanskritFritz (gmail)
-
-pkgname=rofi
-pkgver=1.3.1
-pkgrel=2
-pkgdesc='Popup window switcher roughly based on superswitcher, requiring only xlib and xft'
-arch=(i686 x86_64)
-url='https://davedavenport.github.io/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)
-optdepends=('i3-wm: use as a window switcher')
-source=(https://github.com/DaveDavenport/rofi/releases/download/$pkgver/rofi-$pkgver.tar.xz)
-sha256sums=('b52cf1170f5c7c38f6399ee44f23ebbd87ac349d6a34f32f5d169966765c87e8')
-
-build() {
-  cd rofi-$pkgver
-  ./configure --prefix=/usr --sysconfdir=/etc
-  make
-}
-
-check() {
-  cd rofi-$pkgver
-  make check
-}
-
-package() {
-  cd rofi-$pkgver
-  make install install-man DESTDIR="$pkgdir"
-
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/rofi/COPYING"
-  install -dm755 "$pkgdir/usr/share/doc/rofi/examples"
-  install -Dm755 Examples/*.sh "$pkgdir/usr/share/doc/rofi/examples"
-}

Copied: rofi/repos/community-x86_64/PKGBUILD (from rev 263298, rofi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-10-18 21:37:26 UTC (rev 263299)
@@ -0,0 +1,66 @@
+# $Id$
+# 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>
+# Contributor: Sean Pringle <sean.pringle at gmail.com>
+# Contributor: SanskritFritz (gmail)
+
+pkgname=rofi
+pkgver=1.4.2
+pkgrel=1
+_commit=1ab3e571eca1768d437246ca6ec09f44432b0e20
+pkgdesc='A window switcher, application launcher and dmenu replacement'
+arch=(i686 x86_64)
+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 librsvg)
+makedepends=(meson git)
+checkdepends=(check)
+optdepends=('i3-wm: use as a window switcher')
+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
+  #arch-meson build
+  cd rofi
+  autoreconf -i
+  ./configure --prefix=/usr --sysconfdir=/etc
+  make
+}
+
+check() {
+  cd rofi
+  LC_ALL=C make check
+}
+
+package() {
+  cd rofi
+  make install install-man DESTDIR="$pkgdir"
+
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/rofi/COPYING"
+  install -dm755 "$pkgdir/usr/share/doc/rofi/examples"
+  install -Dm755 Examples/*.sh "$pkgdir/usr/share/doc/rofi/examples"
+}



More information about the arch-commits mailing list