archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libsm / repos / extra-x86_64 / PKGBUILD
blob53b0433be776fdd1b31f4ac5e56ba018a910a92f
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 pkgname=libsm
4 pkgver=1.2.3
5 pkgrel=2
6 pkgdesc="X11 Session Management library"
7 arch=('x86_64')
8 license=('custom')
9 url="https://xorg.freedesktop.org/"
10 depends=('libice' 'libutil-linux')
11 makedepends=('xorg-util-macros' 'xtrans' 'xorgproto')
12 source=(${url}/releases/individual/lib/libSM-${pkgver}.tar.bz2)
13 sha512sums=('74c42e27029db78475e62025b4711dbac5e22d2f8e8a24be98a1c31b03c0fc4afe859928f851800ea0b76854f12147900dc4f27bbfd3d8ea45daaaf24b70a903')
15 build() {
16   cd libSM-${pkgver}
17   ./configure --prefix=/usr --sysconfdir=/etc
18   make
21 package() {
22   cd libSM-${pkgver}
23   make DESTDIR="${pkgdir}" install
25   install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"