summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a4a4a9b72b102477526eca4888d53568612f764a (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
33
34
35
36
37
38
39
40
41
42
43
44
# Maintainer: Swarnaditya Singh <demonkingswarn@protonmail.com>
pkgname=rofi-file-browser-extended-patched
_pkgname=rofi-file-browser-extended
pkgver=5.0.r2.258f02e
pkgrel=1
epoch=
pkgdesc="Use rofi to quickly open files."
arch=(x86_64)
url="https://github.com/DemonKingSwarn/${_pkgname}"
license=('MIT')
groups=()
depends=()
makedepends=(git cmake make rofi)
checkdepends=()
optdepends=()
provides=(rofi-file-browser-extended)
conflicts=(rofi-file-browser-extended-git)
replaces=()
backup=()
options=()
install=
changelog=
source=("git+$url")
noextract=()
md5sums=('SKIP')
validpgpkeys=()

pkgver() {
	cd "${_pkgname}"
    printf "5.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd ${srcdir}/${_pkgname}
  cmake .
  make
}

package() {
   cd "${srcdir}/${_pkgname}" 
   make DESTDIR="${pkgdir}" PREFIX=/usr install
   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}