summaryrefslogtreecommitdiffstats
path: root/abs/core/xorg-xsetroot/PKGBUILD
blob: a154d1d269352ab7b358fab39817f78c7d8f3dc6 (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$
# Maintainer: Jan de Groot <jgc@archlinux.org>

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

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"
}