summaryrefslogtreecommitdiff
path: root/user/rofi
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2020-01-01 01:53:08 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2020-01-04 22:43:58 -0500
commita64630d59344e400d515b6f817459b13cc9c035b (patch)
treeed5164a87c87d2b33293a6e3556bef2025653e9b /user/rofi
parentefdebafa0ff5ba8ebdc14da878e43ff6d7db2bab (diff)
downloadpackages-a64630d59344e400d515b6f817459b13cc9c035b.tar.gz
packages-a64630d59344e400d515b6f817459b13cc9c035b.tar.bz2
packages-a64630d59344e400d515b6f817459b13cc9c035b.tar.xz
packages-a64630d59344e400d515b6f817459b13cc9c035b.zip
user/rofi: new package
Diffstat (limited to 'user/rofi')
-rw-r--r--user/rofi/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/rofi/APKBUILD b/user/rofi/APKBUILD
new file mode 100644
index 000000000..c7b8c388d
--- /dev/null
+++ b/user/rofi/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
+# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
+pkgname=rofi
+pkgver=1.5.4
+pkgrel=0
+pkgdesc="Powerful application switcher and launcher"
+url="https://github.com/davatorium/rofi"
+arch="all"
+license="MIT AND Expat AND GPL-3.0+"
+depends=""
+checkdepends="check-dev"
+makedepends="flex bison pango-dev cairo-dev librsvg-dev libxcb-dev
+ libxinerama-dev libxrandr-dev xcb-util-wm-dev xcb-util-xrm-dev
+ startup-notification-dev libxkbcommon-dev"
+provides="dmenu"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://github.com/davatorium/rofi/releases/download/$pkgver/rofi-$pkgver.tar.xz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ cd "$pkgdir"/usr/bin
+ ln -s rofi dmenu
+}
+
+sha512sums="03def57fcf919e6c4d8d07345ff37f103fb32aef0b718a6a021ae31cca23bfc962a847a0deb2ffca245d2b8ebac0b60264f00a7b1aa64bf7d313b82e417710ef rofi-1.5.4.tar.xz"