[arch-commits] Commit in xdg-utils/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Wed Dec 16 18:47:56 UTC 2009


    Date: Wednesday, December 16, 2009 @ 13:47:56
  Author: pierre
Revision: 61479

use snapshot; current version does not work with KDE4 and misses features

Modified:
  xdg-utils/trunk/PKGBUILD

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++--------------
 1 file changed, 30 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-12-16 17:34:01 UTC (rev 61478)
+++ PKGBUILD	2009-12-16 18:47:56 UTC (rev 61479)
@@ -2,21 +2,37 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=xdg-utils
-pkgver=1.0.2
-pkgrel=2
-pkgdesc="Command line tools that assist applications with a variety of desktop integration tasks."
-arch=(i686 x86_64)
-url="http://portland.freedesktop.org/"
+pkgver=1.0.2.20091216
+pkgrel=1
+pkgdesc='Command line tools that assist applications with a variety of desktop integration tasks.'
+arch=('any')
+url='http://portland.freedesktop.org/'
 depends=('sh')
-license=(MIT)
-source=(http://portland.freedesktop.org/download/$pkgname-$pkgver.tgz)
-md5sums=('348a5b91dc66426505022c74a64b2940')
+makedepends=('docbook-xsl' 'lynx' 'xmlto')
+license=('custom')
+source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('c1c48a257796a6324b16a75fd3aed45a')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --mandir=/usr/share/man || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
-  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
+	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
+	make DESTDIR=${pkgdir} install || return 1
+	install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }
+
+_source() {
+	local _current=$(pwd)
+	local _tmp=$(mktemp -d)
+	cd $_tmp
+
+	cvs -d:pserver:anoncvs at 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
+	cd $_current
+	rm -rf $_tmp
+}
\ No newline at end of file




More information about the arch-commits mailing list