Skip to content
Snippets Groups Projects
Verified Commit 9cde5805 authored by Robin Candau's avatar Robin Candau
Browse files

upgpkg: 1.7.6-1: New upstream release + Switch to git sources

Closes #1
parent 6d99a507
No related branches found
Tags 2.17.6-1
No related merge requests found
pkgbase = rofi
pkgdesc = A window switcher, application launcher and dmenu replacement
pkgver = 1.7.5
pkgver = 1.7.6
pkgrel = 1
url = https://davatorium.github.io/rofi
arch = x86_64
license = MIT
makedepends = git
makedepends = check
makedepends = pandoc
depends = libxdg-basedir
depends = startup-notification
depends = libxkbcommon-x11
depends = librsvg
depends = hicolor-icon-theme
depends = xcb-util-wm
depends = xcb-util-xrm
depends = librsvg
depends = xcb-util-cursor
source = https://github.com/davatorium/rofi/releases/download/1.7.5/rofi-1.7.5.tar.xz
depends = xcb-util-keysyms
optdepends = xcb-imdkit: input method support
source = git+https://github.com/davatorium/rofi.git#tag=1.7.6
source = git+https://github.com/sardemff7/libgwater.git
source = git+https://github.com/sardemff7/libnkutils.git
source = fix_xfce4-terminal_binary_name.patch
sha256sums = caffcf66d165cb32b748c1db7f229d6d75da58c1685eb17455f65c60e8220c8d
sha256sums = 073434fca2ee5b8da7dac93dae7fd0e71a0d0149bce90a128fc94541714916fb
sha256sums = SKIP
sha256sums = SKIP
sha256sums = aa6c7bc39e4eb936e47a600beeadf0e11ff62bc5ce6e6d954b56439ec9a44543
pkgname = rofi
......@@ -9,45 +9,53 @@
# Contributor: SanskritFritz (gmail)
pkgname=rofi
pkgver=1.7.5
pkgver=1.7.6
pkgrel=1
pkgdesc="A window switcher, application launcher and dmenu replacement"
url="https://davatorium.github.io/rofi"
arch=('x86_64')
license=('MIT')
depends=('libxdg-basedir' 'startup-notification' 'libxkbcommon-x11'
'xcb-util-wm' 'xcb-util-xrm' 'librsvg' 'xcb-util-cursor')
makedepends=('check')
source=("https://github.com/davatorium/rofi/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz"
depends=('libxdg-basedir' 'startup-notification' 'libxkbcommon-x11' 'librsvg'
'hicolor-icon-theme' 'xcb-util-wm' 'xcb-util-xrm' 'xcb-util-cursor' 'xcb-util-keysyms')
makedepends=('git' 'check' 'pandoc')
optdepends=('xcb-imdkit: input method support')
source=("git+https://github.com/davatorium/rofi.git#tag=${pkgver}"
'git+https://github.com/sardemff7/libgwater.git'
'git+https://github.com/sardemff7/libnkutils.git'
'fix_xfce4-terminal_binary_name.patch')
sha256sums=('caffcf66d165cb32b748c1db7f229d6d75da58c1685eb17455f65c60e8220c8d'
sha256sums=('073434fca2ee5b8da7dac93dae7fd0e71a0d0149bce90a128fc94541714916fb'
'SKIP'
'SKIP'
'aa6c7bc39e4eb936e47a600beeadf0e11ff62bc5ce6e6d954b56439ec9a44543')
prepare() {
cd "${pkgname}-${pkgver}"
cd "${pkgname}"
git submodule init
git config submodule.subprojects/libgwater.url "${srcdir}/libgwater"
git config submodule.subprojects/libnkutils.url "${srcdir}/libnkutils"
git -c protocol.file.allow=always submodule update
autoreconf -i
# xfce4-terminal.wrapper is a Debian specific script
# that Arch does not provide
patch -Np1 < "${srcdir}/fix_xfce4-terminal_binary_name.patch"
patch -Np1 -i "${srcdir}/fix_xfce4-terminal_binary_name.patch"
}
build() {
cd "${pkgname}-${pkgver}"
cd "${pkgname}"
./configure --prefix=/usr --sysconfdir=/etc
make
}
check() {
cd "${pkgname}-${pkgver}"
cd "${pkgname}"
LC_ALL=C make check
}
package() {
cd "${pkgname}-${pkgver}"
cd "${pkgname}"
make install install-man DESTDIR="${pkgdir}"
install -Dm 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
install -dm 755 "$pkgdir/usr/share/doc/$pkgname/examples"
install -Dm 755 Examples/*.sh "${pkgdir}/usr/share/doc/${pkgname}/examples"
install -Dm755 Examples/*.sh -t "${pkgdir}/usr/share/doc/rofi/examples"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment