blob: d64cc03ed9c36d8d1e8c3f0ce2cb7be28af6e874 (
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
|
# Maintainer: David Lasek <mail at davidlasek dot eu>
pkgname=rofi-blocks-git
_gitroot='rofi-blocks'
pkgver=r78.50962f7
pkgrel=1
pkgdesc="rofi modi for controlling rofi content through communication with an external program"
arch=("any")
url="https://github.com/OmarCastro/${_gitroot}"
license=('GPL')
depends=(rofi json-glib)
makedepends=(git automake)
optdepends=()
source=("git+https://github.com/OmarCastro/${_gitroot}")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_gitroot}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD | sed 's/-/./g')"
}
build() {
cd "${srcdir}/${_gitroot}"
autoreconf -i
mkdir build
cd build/
../configure
make
}
package() {
cd "${srcdir}/${_gitroot}"
cd build/
make DESTDIR="$pkgdir/" install
}
|