summaryrefslogtreecommitdiff
path: root/extra/xsnow/PKGBUILD
blob: 0a24514ab854fc4aab40c2304debf91dcc1fcf2b (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
26
27
28
29
30
31
# $Id: PKGBUILD 122681 2011-05-06 04:34:00Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=xsnow
pkgver=1.42
pkgrel=5
pkgdesc="Xsnow will let it snow on the root window and on windows. Santa and his reindeer will complete your festive-season feeling."
arch=('i686' 'x86_64')
url="http://dropmix.xs4all.nl/rick/Xsnow/"
license=('custom')
depends=('libxpm')
makedepends=('imake')
source=(http://dropmix.xs4all.nl/rick/Xsnow/${pkgname}-${pkgver}.tar.gz LICENSE)
md5sums=('451d8fc0a2b5393b428faa496a556036'
         '60d377d8f9c0e99297160a464d4a0a9e')
sha1sums=('d63987560dac9c6341e50d270089e40d17031ce3'
          'c93e236bed35a2d5dc23202c1c615d4e146fba49')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  xmkmf
  make depend
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" MANPATH=/usr/share/man install install.man
  chmod 644 "${pkgdir}/usr/share/man/man1/xsnow.1x"
  install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}