summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2a712b2dd68d6844f4c3d19168ddddde9d6fb769 (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
27
# Maintainer: Kaizhao Zhang <zhangkaizhao@gmail.com>

pkgname=budgie-brightness-control-applet
pkgver=0.2.1
pkgrel=2
pkgdesc="Brightness control applet for budgie desktop"
arch=('i686' 'x86_64')
url='https://github.com/ilgarmehmetali/budgie-brightness-control-applet'
license=('GPL2')
depends=('budgie-desktop' 'gnome-settings-daemon' 'libpeas')
makedepends=('fakeroot' 'gobject-introspection' 'meson' 'ninja' 'vala')

source=("https://github.com/ilgarmehmetali/${pkgname}/archive/v${pkgver}.tar.gz")
sha512sums=('ab73f0aeb1ee34956c056ed0f13866dbbd4efeacc7d38650c68bbe627c95e4cb0e8033b82acf0d57742fa0f7a766dab458d8969994cdbed8e83fb30b63b90124')

build() {
  cd "$srcdir/${pkgname}-${pkgver}"
  mkdir -p build
  cd "${srcdir}/${pkgname}-${pkgver}/build"
  meson --prefix /usr --buildtype=plain ..
  ninja
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}/build"
  DESTDIR="${pkgdir}" ninja install
}