db-move: moved linux-zen from [testing] to [extra] (x86_64)
[arch-packages.git] / libxss / trunk / PKGBUILD
blob64f8b7e9d5b0d4d5c61e38fa6d347d624df184be
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Alexander Baldeck <alexander@archlinux.org>
4 pkgname=libxss
5 pkgver=1.2.3
6 pkgrel=4
7 pkgdesc="X11 Screen Saver extension library"
8 arch=('x86_64')
9 license=('custom')
10 url="https://gitlab.freedesktop.org/xorg/lib/libxscrnsaver"
11 depends=('libxext')
12 makedepends=('xorg-util-macros' 'xorgproto')
13 source=("https://xorg.freedesktop.org/releases/individual/lib/libXScrnSaver-${pkgver}.tar.bz2"
14        # "${url}/-/archive/libXScrnSaver-${pkgver}/libxscrnsaver-libXScrnSaver-${pkgver}.tar.bz2"
16 #https://gitlab.freedesktop.org/xorg/lib/libxscrnsaver/-/archive/libXScrnSaver-1.2.3/libxscrnsaver-libXScrnSaver-1.2.3.tar.bz2
17 sha512sums=('7ea628324a11b25ee82c7b11c6bf98f37de219354de51c1e29467b5de422669ba1ab121f3b9dc674093c8f3960e93c5d5428122f5539092f79bc8451c768354a')
19 build() {
20   cd libXScrnSaver-${pkgver}
21   ./configure --prefix=/usr --sysconfdir=/etc
22   make
25 package() {
26   cd libXScrnSaver-${pkgver}
27   make DESTDIR="${pkgdir}" install
29   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
30   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"