Initial commit

This commit is contained in:
Milan Oberkirch 2013-06-03 17:15:34 -07:00
commit c2805967b1
3 changed files with 43 additions and 0 deletions

15
.SRCINFO Normal file
View file

@ -0,0 +1,15 @@
pkgbase = pacfolder
pkgdesc = Programm to generate a folder with subfolders for each package managed by pacman containing symlinks to all files belonging to that package.
pkgver = 0
pkgrel = 1
url = https://github.com/zvynar/pacfolder
arch = any
license = MIT
makedepends = git
depends = pacman
depends = python3
source = git://github.com/zvynar/pacfolder.git
md5sums = SKIP
pkgname = pacfolder

24
PKGBUILD Normal file
View file

@ -0,0 +1,24 @@
pkgname=pacfolder
_gitname=pacfolder
pkgver=0
pkgrel=1
pkgdesc="Programm to generate a folder with subfolders for each package\
managed by pacman containing symlinks to all files belonging to that package."
arch=('any')
url="https://github.com/zvynar/pacfolder"
license=('MIT')
depends=('pacman' 'python3')
makedepends=('git')
source=('git://github.com/zvynar/pacfolder.git')
md5sums=('SKIP')
pkgver() {
cd $_gitname
## Use the tag of the last commit
# git describe --always | sed 's|-|.|g'
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
package() {
install -Dm755 "$srcdir/$_gitname/pacfolder" "$pkgdir/usr/bin/pacfolder"
}

4
README.md Normal file
View file

@ -0,0 +1,4 @@
pacfolder
=========
Generate a folder with subfolders for each package managed by pacman containing symlinks to all files belonging to that package.