summaryrefslogtreecommitdiffstats
path: root/abs/core/libxss/PKGBUILD
blob: 5bf80a4522e0ce358311d25bc5a04dc96e02cbeb (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
# $Id: PKGBUILD 97566 2010-10-31 15:57:08Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
pkgname=libxss
pkgver=1.2.1
pkgrel=1
pkgdesc="X11 Screen Saver extension library"
arch=(i686 x86_64)
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxext' 'scrnsaverproto')
makedepends=('xorg-util-macros')
options=('!libtool')
source=(${url}/releases/individual/lib/libXScrnSaver-${pkgver}.tar.bz2)
sha1sums=('3c29e2222fd68e26e408234c51c6d8b2edf6ab19')

build() {
  cd "${srcdir}/libXScrnSaver-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc
  make || return 1
}
package() {
  cd "${srcdir}/libXScrnSaver-${pkgver}"
  make DESTDIR="${pkgdir}" install || return 1

  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}