mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
27 lines
800 B
Bash
27 lines
800 B
Bash
# 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
|
|
}
|