summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 67d036edd9a8b292ff7ad868e89abe23d26a45a3 (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
# Maintainer: ReanGD <reangd at yandex dot ru>
pkgname=rofi-proxy
pkgver=1.0
pkgrel=1
pkgdesc="plugin that allows you to manage rofi state with an external application"
arch=(x86_64)
url="https://github.com/ReanGD/rofi-proxy"
license=('Apache')
depends=(rofi)
optdepends=()
makedepends=(cmake)
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/ReanGD/rofi-proxy/archive/v${pkgver}.tar.gz")
md5sums=('SKIP')

build() {
    cmake \
        -B "${pkgname}-${pkgver}/build" \
        -S "${pkgname}-${pkgver}" \
        -DCMAKE_BUILD_TYPE:STRING='None' \
        -Wno-dev
    make -C "${pkgname}-${pkgver}/build" all
}

package() {
    make -C "${pkgname}-${pkgver}/build" DESTDIR="$pkgdir" install
}