PKGBUILDs/community/libxdg-basedir/PKGBUILD

28 lines
800 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Ondrej Martinak <omartinak@gmail.com>
pkgname=libxdg-basedir
pkgver=1.0.1
pkgrel=1
pkgdesc="An implementation of the XDG Base Directory specifications."
arch=('i686' 'x86_64')
url="http://n.ethz.ch/student/nevillm/download/libxdg-basedir"
license=('MIT')
depends=('glibc')
source=(http://n.ethz.ch/student/nevillm/download/${pkgname}/${pkgname}-${pkgver}.tar.gz
'LICENSE')
options=('!libtool')
md5sums=('941dacde04db15164c9aca5a1d856665'
'7a81a3f8213d86ce3a0ccdf6b34c71e6')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install
# Install MIT license
install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}