upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / brightnessctl / trunk / PKGBUILD
blob9562ae1e3180aa5d17d357eff1bca764d76fe2f7
1 # Maintainer: Antoine Damhet <antoine.damhet@lse.epita.fr>
3 pkgname=brightnessctl
4 pkgver=0.5.1
5 pkgrel=2
6 pkgdesc="Lightweight brightness control tool"
7 arch=('x86_64')
8 url='https://github.com/Hummer12007/brightnessctl'
9 license=('MIT')
10 depends=('systemd-libs')
11 source=(
12   "${pkgname}-${pkgver}.tar.gz::https://github.com/Hummer12007/brightnessctl/archive/${pkgver}.tar.gz"
14 sha512sums=('41ac86357b3b5a3d54a043140a6bdb1fb68d5080a16e86692059ad58f4b9134a8532432a3f664c70c665a4ad73ea8a94cc9b88fa84abc28f0356b8b397aaebc7')
16 build() {
17   cd "${pkgname}-${pkgver}"
18   make ENABLE_SYSTEMD=1
21 package() {
22   cd "${pkgname}-${pkgver}"
23   make ENABLE_SYSTEMD=1 DESTDIR="$pkgdir" install
25   mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
26   install -m 0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
29 # vim:set ts=2 sw=2 et: