updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / moothy / PKGBUILD
blob4d7d87c43f121eae238aca8b0e0f3f9602b347ae
1 # Maintainer: Mr. Fillo <fillo@fillo.ru>
2 # Contributor: Mr. Fillo <fillo@fillo.ru>
4 pkgname=moothy
5 pkgver=1.1.3
6 pkgrel=1
7 pkgdesc="Smart Monitor Power Management based on the active windows"
8 arch=('any')
9 url="http://code.google.com/p/moothy"
10 license=('GPL')
11 depends=('pcre')
12 install="${pkgname}.install"
13 source=("http://moothy.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2"
14         'moothy_conf'
15         'moothy_rc')
16 md5sums=('7c6fd8395b37edbbbc7f86a6a2b7e376'
17          '8652e0fb3edd242a84a50b848c5a5f6b'
18          '4ac616b1e09662d19f57982cc0109799')
20 package() {
21   cd "${srcdir}/${pkgname}-${pkgver}"
22   ./make -m
24   install -D -m755 "moothy" "${pkgdir}/usr/bin/moothy"
25   install -D -m755 "${srcdir}/moothy_rc" "${pkgdir}/etc/rc.d/moothy"
26   install -D -m644 "${srcdir}/moothy_conf" "${pkgdir}/etc/conf.d/moothy"
28   install -d "${pkgdir}/usr/share/moothy"
29   install -D -m755 "scripts/xscreensaver" "${pkgdir}/usr/share/moothy/xscreensaver"
30   install -D -m755 "scripts/simple" "${pkgdir}/usr/share/moothy/simple"