Skip to content

Instantly share code, notes, and snippets.

@pagenoare
Created November 11, 2011 16:15
Show Gist options
  • Save pagenoare/1358399 to your computer and use it in GitHub Desktop.
Save pagenoare/1358399 to your computer and use it in GitHub Desktop.
libxdg-basedir pisi package [ dep for awesome wm ]
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2007 TUBITAK/UEKAE
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.rawConfigure("--prefix=/usr")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING")
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pardus.org.tr/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libxdg-basedir</Name>
<Homepage>http://n.ethz.ch/~nevillm/download/libxdg-basedir/</Homepage>
<Packager>
<Name>Kacper Krupa</Name>
<Email>[email protected]</Email>
</Packager>
<License>MIT</License>
<IsA>library</IsA>
<PartOf>programming.library</PartOf>
<Summary>An implementation of the XDG Base Directory specifications.</Summary>
<Description>An implementation of the XDG Base Directory specifications.</Description>
<Archive sha1sum="133b2b66a6ea43560f4ac41d1235d3282e31da84" type="targz">http://n.ethz.ch/~nevillm/download/libxdg-basedir/libxdg-basedir-1.1.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>glibc</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libxdg-basedir</Name>
<RuntimeDependencies>
<Dependency>glibc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2011-10-22</Date>
<Version>1.1.1</Version>
<Comment>First release.</Comment>
<Name>Kacper Krupa</Name>
<Email>[email protected]</Email>
</Update>
</History>
</PISI>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment