diff options
author | Leonidas Spyropoulos | 2021-06-25 11:16:56 +0100 |
---|---|---|
committer | Leonidas Spyropoulos | 2021-06-25 11:16:56 +0100 |
commit | 8bee103b0d79146b697dc4cf1d42e3b360779591 (patch) | |
tree | a76e27005679fa8a47c215f00ae9ebc95deb9a3d | |
parent | dedf37b0f04df5533fc7107ea52437a010977916 (diff) | |
download | aur-8bee103b0d79146b697dc4cf1d42e3b360779591.tar.gz |
Add makeflag for Transparency
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,6 +1,14 @@ # Maintainer: Leonidas Spyropoulos <artafinde at gmail dot com> # Contributor: CyrIng <labs[at]cyring[dot]fr> +### BUILD OPTIONS +# Set the next variables to ANYTHING that is not null to enable them + +# Enable transparency mode in terminal +_transparency= + +### Do no edit below this line unless you know what you're doing + pkgbase=corefreq pkgname=(corefreq-client corefreq-server corefreq-dkms) _gitname=CoreFreq @@ -18,7 +26,11 @@ b2sums=('fa861cbf607a628eb769391986923a1a120ac4e2ca036279043303f7bfe429c0b92bf42 build() { cd "${_gitname}-${pkgver}" - make corefreqd corefreq-cli + if [ -n "${_transparency}" ]; then + make corefreqd corefreq-cli UI_TRANSPARENCY=1 + else + make corefreqd corefreq-cli + fi } package_corefreq-dkms() { |