summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-01-30 03:23:29 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-01-30 03:23:29 +0000
commitc79bb2413a81f20ce59fe5051c18ae4b2bfa75b0 (patch)
tree7b02cf478fb86ea880bca9ffd388ac90693f1736
parent82d6140694a14e5c94eb20bd37fffc679997f1ed (diff)
parenta64630d59344e400d515b6f817459b13cc9c035b (diff)
downloadpackages-c79bb2413a81f20ce59fe5051c18ae4b2bfa75b0.tar.gz
packages-c79bb2413a81f20ce59fe5051c18ae4b2bfa75b0.tar.bz2
packages-c79bb2413a81f20ce59fe5051c18ae4b2bfa75b0.tar.xz
packages-c79bb2413a81f20ce59fe5051c18ae4b2bfa75b0.zip
Merge branch 'rofi' into 'master'
user/rofi: new package See merge request adelie/packages!387
-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"