diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/libxdg-basedir | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/libxdg-basedir')
-rw-r--r-- | community/libxdg-basedir/LICENSE | 24 | ||||
-rw-r--r-- | community/libxdg-basedir/PKGBUILD | 32 |
2 files changed, 56 insertions, 0 deletions
diff --git a/community/libxdg-basedir/LICENSE b/community/libxdg-basedir/LICENSE new file mode 100644 index 000000000..42b182976 --- /dev/null +++ b/community/libxdg-basedir/LICENSE @@ -0,0 +1,24 @@ +/* Copyright (c) 2007 Mark Nevill + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + diff --git a/community/libxdg-basedir/PKGBUILD b/community/libxdg-basedir/PKGBUILD new file mode 100644 index 000000000..ccbcc87a1 --- /dev/null +++ b/community/libxdg-basedir/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: Ondrej Martinak <omartinak@gmail.com> + +pkgname=libxdg-basedir +pkgver=1.2.0 +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') +sha1sums=('b924afe4e29c52358ad67476887e9ca0dcf90f7c' + 'c76efede60d0632d4241d718919d8b4ec62056b3') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR=${pkgdir} install + + # Install MIT license + install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} + |