mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 00:34:41 +02:00
43 lines
935 B
Text
43 lines
935 B
Text
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=rofi-calc
|
|
pkgver=2.3.0
|
|
pkgrel=1
|
|
pkgdesc="Rofi plugin that uses qalc to parse natural language input and provide results"
|
|
url="https://github.com/svenstaro/rofi-calc"
|
|
arch="all"
|
|
license="MIT"
|
|
depends="cmd:rofi qalc"
|
|
makedepends="
|
|
autoconf
|
|
automake
|
|
libtool
|
|
rofi-dev
|
|
"
|
|
source="https://github.com/svenstaro/rofi-calc/archive/v$pkgver/rofi-calc-$pkgver.tar.gz"
|
|
options="!check" # no tests available
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
autoreconf -fi
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
d770f7db35075c974c344d2fce6dadb0f63e98f7accb1478a710589949f7f5848d0fee21d284dbac894177645b538b91c2d6258fee5e0d2b1d452e75d5f88b39 rofi-calc-2.3.0.tar.gz
|
|
"
|