Commit 82473d6b authored by abveritas's avatar abveritas

xdg-utils updated, needed update for some in apps

parent 91e9f4df
# $Id: PKGBUILD 71032 2010-03-03 10:37:48Z dgriffiths $
# Maintainer: Jan de Groot <jgc@archlinux.org>
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=xdg-utils
pkgver=1.0.2.20100303
pkgver=1.1.0rc1
pkgrel=1
pkgdesc='Command line tools that assist applications with a variety of desktop integration tasks.'
arch=('any')
......@@ -11,33 +14,34 @@ depends=('sh')
makedepends=('docbook-xsl' 'lynx' 'xmlto')
optdepends=('xorg-utils: needed if using Xfce')
license=('custom')
source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz")
md5sums=('b4a9ea7a85559fdebc06c2f703b5116f')
source=("http://portland.freedesktop.org/download/${pkgname}-${pkgver/rc1/-rc1}.tar.gz")
md5sums=('fadf5e7a08e0526fc60dbe3e5b7ef8d6')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=/usr/share/man || return 1
cd scripts
make scripts html man || return 1
cd ..
make || return 1
cd ${srcdir}/${pkgname}-${pkgver/rc1/-rc1}
./configure --prefix=/usr --mandir=/usr/share/man
make -C scripts
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
#cd ${srcdir}/${pkgname}-${pkgver}
cd ${srcdir}/${pkgname}-${pkgver/rc1/-rc1}
make DESTDIR=${pkgdir} install
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
_source() {
# outdated! see now http://cgit.freedesktop.org/xdg/xdg-utils/
local _current=$(pwd)
local _tmp=$(mktemp -d)
cd $_tmp
cvs -d:pserver:anoncvs@anoncvs.freedesktop.org:/cvs/portland co -d ${pkgname}-${pkgver} portland/xdg-utils
find ${pkgname}-${pkgver} -name 'CVS' -type d -exec rm -rf {} \;
bsdtar cvzf ${pkgname}-${pkgver}.tar.gz ${pkgname}-${pkgver}
mv ${pkgname}-${pkgver}.tar.gz $_current
bsdtar cJf ${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}
mv ${pkgname}-${pkgver}.tar.xz $_current
cd $_current
rm -rf $_tmp
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment