blob: a3b34941f958a2d7d4c4057a7b42e7058a1bc59a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Marvin Kreis <MarvinKreis@web.de>
pkgname=rofi-file-browser-extended-git
pkgver=1.3.1.r5.g44e5f0a
pkgrel=1
pkgdesc="Use rofi to quickly open files"
arch=("x86_64")
url="https://github.com/marvinkreis/${pkgname%-git}"
license=("MIT")
depends=("rofi")
makedepends=("git" "cmake")
provides=("rofi-file-browser-extended")
replaces=("rofi-file_browser-extended")
source=("git+https://github.com/marvinkreis/${pkgname%-git}.git")
md5sums=("SKIP")
pkgver() {
cd "${srcdir}/${pkgname%-git}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${pkgname%-git}"
cmake .
make
}
package() {
cd "${srcdir}/${pkgname%-git}"
make DESTDIR="${pkgdir}" PREFIX=/usr install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|