Date: Sunday, December 30, 2018 @ 17:24:46 Author: maximbaz Revision: 419388
upgpkg: rofi 1.5.2-1 Modified: rofi/trunk/PKGBUILD ----------+ PKGBUILD | 48 +++++++++++++----------------------------------- 1 file changed, 13 insertions(+), 35 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-12-30 17:19:21 UTC (rev 419387) +++ PKGBUILD 2018-12-30 17:24:46 UTC (rev 419388) @@ -1,4 +1,5 @@ # Maintainer: Morten Linderud <[email protected]> +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> # Contributor: Anatol Pomozov # Contributor: Benjamin Chrétien <chretien + aur [at] lirmm [dot] fr> # Contributor: Eric Engestrom <aur [at] engestrom [dot] ch> @@ -7,43 +8,20 @@ # Contributor: SanskritFritz (gmail) pkgname=rofi -pkgver=1.5.1 +pkgver=1.5.2 pkgrel=1 -_commit=374d4be9d7f5a7d3dcae3925e8192c6b5c97eee0 pkgdesc='A window switcher, application launcher and dmenu replacement' arch=(x86_64) -url='https://github.com/DaveDavenport/rofi/' +url="https://github.com/DaveDavenport/$pkgname/" 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 check) +depends=(libxdg-basedir startup-notification libxkbcommon-x11 xcb-util-wm xcb-util-xrm librsvg) +makedepends=(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') +source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.xz") +sha256sums=('f2b289d693d469ed8d61fbc7b1911d0024c100ce32752e636e116f243350ca9d') -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 + cd "$pkgname-$pkgver" autoreconf -i ./configure --prefix=/usr --sysconfdir=/etc make @@ -50,15 +28,15 @@ } check() { - cd rofi + cd "$pkgname-$pkgver" LC_ALL=C make check } package() { - cd rofi + cd "$pkgname-$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" + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + install -dm755 "$pkgdir/usr/share/doc/$pkgname/examples" + install -Dm755 Examples/*.sh "$pkgdir/usr/share/doc/$pkgname/examples" }
