mirror of
https://github.com/archlinux/aur.git
synced 2026-01-27 20:28:31 +01:00
New package: cardpeek-svn
This commit is contained in:
commit
908f91c4ca
3 changed files with 83 additions and 0 deletions
19
.SRCINFO
Normal file
19
.SRCINFO
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
pkgbase = cardpeek-svn
|
||||
pkgdesc = A tool to read the contents of smartcards
|
||||
pkgver = 206
|
||||
pkgrel = 1
|
||||
url = https://code.google.com/p/cardpeek/
|
||||
install = cardpeek.install
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
makedepends = subversion
|
||||
depends = gtk2
|
||||
depends = hicolor-icon-theme
|
||||
depends = lua
|
||||
depends = pcsclite
|
||||
provides = cardpeek
|
||||
conflicts = cardpeek
|
||||
|
||||
pkgname = cardpeek-svn
|
||||
|
||||
50
PKGBUILD
Normal file
50
PKGBUILD
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# Maintainer: Thomas Jost <schnouki@schnouki.net>
|
||||
pkgname=cardpeek-svn
|
||||
pkgver=206
|
||||
pkgrel=1
|
||||
pkgdesc="A tool to read the contents of smartcards"
|
||||
arch=(i686 x86_64)
|
||||
url="https://code.google.com/p/cardpeek/"
|
||||
license=('GPL')
|
||||
depends=('gtk2' 'hicolor-icon-theme' 'lua' 'pcsclite')
|
||||
makedepends=('subversion')
|
||||
provides=('cardpeek')
|
||||
conflicts=('cardpeek')
|
||||
install=cardpeek.install
|
||||
|
||||
_svntrunk="http://cardpeek.googlecode.com/svn/trunk"
|
||||
_svnmod="cardpeek"
|
||||
|
||||
build() {
|
||||
cd "$srcdir"
|
||||
msg "Connecting to SVN server...."
|
||||
|
||||
if [[ -d "$_svnmod/.svn" ]]; then
|
||||
(cd "$_svnmod" && svn up -r "$pkgver")
|
||||
else
|
||||
svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
|
||||
fi
|
||||
|
||||
msg "SVN checkout done or server timeout"
|
||||
msg "Starting build..."
|
||||
|
||||
rm -rf "$srcdir/$_svnmod-build"
|
||||
cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
|
||||
cd "$srcdir/$_svnmod-build"
|
||||
|
||||
#
|
||||
# BUILD HERE
|
||||
#
|
||||
#./autogen.sh
|
||||
aclocal
|
||||
automake --add-missing
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_svnmod-build"
|
||||
make DESTDIR="$pkgdir/" install
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
14
cardpeek.install
Normal file
14
cardpeek.install
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
post_install() {
|
||||
update-desktop-database -q
|
||||
gtk-update-icon-cache -q /usr/share/icons/hicolor
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install "$1"
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install "$1"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
Loading…
Add table
Reference in a new issue