# Maintainer: farseerfc # Contributor: Nyarcel # Contributor: Lara Maia # Contributor: BlackICE # Contributor: Daenyth pkgname=pkgtools pkgver=25 pkgrel=5 pkgdesc="A collection of scripts for Arch Linux packages" arch=('any') url="https://bbs.archlinux.org/viewtopic.php?pid=384196" license=('GPL') depends=('coreutils' # for comm in whoneeds 'bash>=4' 'pcre' 'libarchive' 'python') optdepends=('abs: Provides PKGBUILD prototypes for newpkg' 'gem2arch: Create PKGBUILD from Ruby Gem Package' 'pkgfile: Required to use pkgconflict' 'namcap: Package analyzer') provides=('newpkg' 'pip2arch') backup=('etc/pkgtools/newpkg.conf' 'etc/pkgtools/pkgfile.conf' 'etc/pkgtools/spec2arch.conf') install=pkgtools.install source=("${pkgname}-v${pkgver}.tar.gz::https://github.com/Daenyth/pkgtools/tarball/v$pkgver" "https://raw.githubusercontent.com/bluepeppers/pip2arch/master/pip2arch.py" # submodule issue 'whoneeds.bash') md5sums=('9e9d7aad5ba8ecee1b798c3ed4e0a0a7' '9267993a72489019ec1536c887304374' 'e0b7b1b320ead7a552be1b9eae29b494') prepare() { cp -f pip2arch.py Daenyth-"$pkgname"-*/scripts/pip2arch/ } package() { cp whoneeds.bash "$srcdir"/Daenyth-"$pkgname"-*/scripts/ cd Daenyth-"$pkgname"-* make DESTDIR="$pkgdir" install }