diff options
author | Rowan Lewis | 2015-06-09 10:54:26 +0200 |
---|---|---|
committer | Rowan Lewis | 2015-06-09 10:54:26 +0200 |
commit | a2cb4aedd2e4794afc079afdb66367a089760c46 (patch) | |
tree | c9819e55833eee5e06e28f6f782b05f7556e6389 | |
download | aur-a2cb4aedd2e4794afc079afdb66367a089760c46.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d2a1598cf4b4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +# Generated by makepkg 4.2.1 +# Wed Apr 29 20:09:45 UTC 2015 +pkgbase = dsplight + pkgdesc = A very simple application that changes MacBooks' with Intel graphics display backlight level. + pkgver = 1.0 + pkgrel = 1 + url = https://github.com/psychoticmeow/dsplight/ + arch = x86_64 + license = BSD + source = https://github.com/psychoticmeow/dsplight/archive/v1.0.zip + md5sums = 952f752e3399a41b6784a8adbadf528f + +pkgname = dsplight + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..81b0b322fd39 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Rowan Lewis <rl@nbsp.io> + +pkgname=dsplight +pkgver=1.0 +pkgrel=1 +pkgdesc="A very simple application that changes MacBooks' with Intel graphics display backlight level." +arch=("x86_64") +url="https://github.com/psychoticmeow/dsplight/" +license=('BSD') +source=("https://github.com/psychoticmeow/$pkgname/archive/v${pkgver}.zip") +md5sums=('952f752e3399a41b6784a8adbadf528f') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" PREFIX=/usr/ install + chmod 4755 "$pkgdir/usr/bin/$pkgname" +} |