You are not logged in.

#1 2004-06-08 14:03:21

Nuak
Member
Registered: 2004-03-23
Posts: 24

Contribution: pyXDG 0.5

Hi, I want to contribute with pyXDG package, neccesary for starterbar desklet to work.

Yo have to rename the tar.gz to tar before making makepkg, so first download the tar.gz and then run makepkg.

PKGBUILD:

# Contributor: Alberto Nuñez <nuak@xboxrebelion.net>
# Please rename the tar.gz to tar before making the package
pkgname=pyxdg
pkgver=0.5
pkgrel=a1
pkgdesc="PyXDG contains implementations of freedesktop.org standards in python."
url="http://www.freedesktop.org/Software/pyxdg"
license=""
depends=(python)
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://freedesktop.org/Software/pyxdg/releases/$pkgname-$pkgver.tar)
md5sums=('3c42167099b26aba344a25d7c7db2204')

build() {
  mkdir -p $startdir/pkg/usr
  cd $startdir/src/$pkgname-$pkgver
  python ./setup.py build --prefix=$startdir/pkg/usr
  python ./setup.py install --prefix=$startdir/pkg/usr
} 

The prefix doesn't work, but the package builds well, so I leave the prefix there. It doesn't hurt.


ARCH LINUX USER SINCE MARCH 23, 2004
XboxRebelion http://www.xboxrebelion.net

Offline

Board footer

Powered by FluxBB