#Packager: Tim Beech #FormerPackager: Frédéric Galusik pkgname=pkgtxt2db pkgver=0.2.2 pkgrel=1tjb arch=noarch source=("pkgtxt2db-$pkgver.tar.gz" "pkgtxt2db-version-number.patch") sourcetemplate=http://people.salixos.org/mimosa/packages/$pkgname/$pkgver/ docs=("readme.rst" "copying" "authors" "ChangeLog") url=http://www.salixos.org/wiki/index.php/Pkgtxt2db slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "pkgtxt2db (A tool to convert PACKAGES.TXT Slackware file to DB)" "Pkgtxt2db is a utility for Slackware and Slackware based operating" "system." "It is used to fetch and convert the PACKAGES.TXT file to some various " "databases formats." "Are currently supported: CSV, JSON, SQLite, XML." ) build() { cd $SRC/$pkgname-$pkgver patch -p1 < $startdir/src/pkgtxt2db-version-number.patch || exit 1 DESTDIR=$PKG sh install.sh }