import my AUR packages into git

This commit is contained in:
mutantmonkey 2013-03-02 17:53:31 -05:00
commit 2bc84f9db8
2 changed files with 79 additions and 0 deletions

29
.SRCINFO Normal file
View file

@ -0,0 +1,29 @@
pkgbase = parcimonie-git
pkgdesc = A tool that incrementally refreshes a GnuPG keyring
pkgver = 365.90e7cf6
pkgrel = 1
url = https://gaffer.ptitcanardnoir.org/intrigeri/code/parcimonie/
arch = any
license = GPL
license = PerlArtistic
makedepends = git
depends = perl
depends = perl-any-moose
depends = perl-namespace-autoclean
depends = perl-gnupg-interface
depends = perl-clone
depends = perl-config-general
depends = perl-file-homedir
depends = perl-path-class
depends = perl-net-dbus
depends = perl-tie-cache
depends = perl-time-duration-parse
depends = perl-mousex-types-path-class
depends = perl-mousex-getopt
depends = perl-path-tiny
provides = parcimonie
source = git://gaffer.ptitcanardnoir.org/App-Parcimonie.git#branch=debian
sha256sums = SKIP
pkgname = parcimonie-git

50
PKGBUILD Normal file
View file

@ -0,0 +1,50 @@
# Maintainer: mutantmonkey <aur@mutantmonkey.in>
pkgname=parcimonie-git
pkgver=20130224
pkgrel=1
pkgdesc="A tool that incrementally refreshes a GnuPG keyring"
arch=('any')
url="https://gaffer.ptitcanardnoir.org/intrigeri/code/parcimonie/"
license=('GPL' 'PerlArtistic')
depends=('perl' 'perl-any-moose' 'perl-namespace-autoclean'
'perl-gnupg-interface' 'perl-clone' 'perl-config-general'
'perl-file-homedir' 'perl-path-class' 'perl-net-dbus'
'perl-tie-cache' 'perl-time-duration-parse'
'perl-moosex-types-path-class' 'perl-moosex-getopt')
makedepends=('git')
provides=('parcimonie')
_gitroot=git://gaffer.ptitcanardnoir.org/App-Parcimonie.git
_gitname=parcimonie
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [[ -d "$_gitname" ]]; then
cd "$_gitname" && git pull origin
msg "The local files are updated."
else
git clone "$_gitroot" "$_gitname"
fi
msg "GIT checkout done or server timeout"
msg "Starting build..."
git checkout debian
rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
perl Build.PL installdirs=vendor destdir="$pkgdir/"
perl Build
}
package() {
cd "$srcdir/$_gitname-build"
perl Build install
}
# vim:set ts=2 sw=2 et: