# Maintainer: Jesus E. pkgname=libxdg-basedir pkgver=1.2.3 pkgrel=2 pkgdesc="An implementation of the XDG Base Directory specifications." arch=('i686' 'x86_64') url='https://github.com/devnev/libxdg-basedir' license=('Expat') depends=('glibc') source=("https://github.com/devnev/$pkgname/archive/$pkgname-$pkgver.tar.gz") sha512sums=('e672da0d9cd3c27c9113f6053b79127e615e5d84bde81305242f506e930869d8492304aac26a0296528d5a32530e4a743acecb6a25f58372ac597af284429f7c') build() { cd ${pkgname}-${pkgname}-${pkgver} ./autogen.sh ./configure --prefix=/usr make } package() { cd ${pkgname}-${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname} }