summaryrefslogtreecommitdiff
path: root/extra/xorg-xsetroot/PKGBUILD
blob: dd812c0f4173a64b4508bce3251da57c9ea6fa5f (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
# $Id: PKGBUILD 151001 2012-02-24 13:02:20Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xsetroot
pkgver=1.1.0
pkgrel=3
pkgdesc="Classic X utility to set your root window background to a given pattern or color"
arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxmu' 'libx11' 'libxcursor')
makedepends=('xorg-util-macros' 'xbitmaps')
groups=('xorg-apps' 'xorg')
source=(http://xorg.freedesktop.org/archive/individual/app/xsetroot-${pkgver}.tar.bz2)
sha1sums=('1ef9ddd80c7013dc6d33e5c421537eb8b0427da4')

build() {
  cd "${srcdir}/xsetroot-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/xsetroot-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}