blob: 98667df64d0039560ab50f93d2ea939a0dc85637 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Ondrej Martinak <omartinak@gmail.com>
pkgname=libxdg-basedir
pkgver=1.2.0
pkgrel=2
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=(https://github.com/devnev/$pkgname/archive/$pkgname-$pkgver.tar.gz
'LICENSE')
sha1sums=('e671b01b17c8cf785d95dd3aefa93e7cf31e56a5'
'c76efede60d0632d4241d718919d8b4ec62056b3')
build() {
cd "${srcdir}/$pkgname-$pkgname-$pkgver"
./autogen.sh --prefix=/usr
make
}
package() {
cd "${srcdir}/$pkgname-$pkgname-$pkgver"
make DESTDIR=${pkgdir} install
# Install MIT license
install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
|