summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3bddb4d9b6563c3c3fe5acb0454035edda0609e8 (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
# Maintainer: Pig Monkey <pm@pig-monkey.com>
#
# Contributor: portix <portix at gmx.net>

pkgname=srandrd
pkgver=0.6.0
pkgrel=2
pkgdesc="Simple randr daemon that reacts to monitor hotplug events" 
arch=('i686' 'x86_64')
url="https://github.com/jceb/srandrd/"
license=('custom:MIT/X')
depends=('libxrandr' 'libxinerama')
provides=('srandrd')
source=(https://github.com/jceb/${pkgname}/archive/v${pkgver}.tar.gz)
md5sums=('91041c39b46e7c8e8f7401a74cdaab10')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make
}
package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}