summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7e4d029a3f248abe30d7697b8b4962051201f1b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: shizy <shizukesa4 at gmail dot com>
pkgname=gloom
pkgver=1.2
pkgrel=1
pkgdesc='a X11 backlight dimming, screen lock, and cursor management tool for laptops.'
arch=('x86_64')
url=https://github.com/shizy/gloom
license=('MIT')
depends=('libxrandr' 'libxfixes' 'libxi' 'xproto' 'libx11')
makedepends=('git')
source=("https://github.com/shizy/gloom/archive/${pkgver}.tar.gz")
md5sums=('SKIP')

build() {
    cd "${pkgname}-${pkgver}"
    make
}

package() {
    echo "$pkgdir"
    cd "${pkgname}-${pkgver}"
    make PREFIX="/usr" DESTDIR="$pkgdir" install
}