Commit 49d9fd8c authored by abveritas's avatar abveritas
Browse files

Adding ifuse-- iphone file-viewer, josm--openstreetmap editor, scons--python base build utility

parent bfcd5b99
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
#from AUR package http://aur.archlinux.org/packages.php?ID=26724
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=ifuse
pkgver=1.0.0
pkgrel=1
pkgdesc="A fuse filesystem which uses libimobiledevice to expose an iPhone's contents as a filesystem"
url="http://libimobiledevice.org/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('libimobiledevice>=1.0.0' 'fuse' 'glib2')
makedepends=('gcc' 'make' 'automake' 'autoconf' 'pkgconfig')
provides=('ifuse-git')
conflicts=('ifuse-git')
source=(http://cloud.github.com/downloads/MattColyer/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('325d58abe182afa95187e6c55f2bba5f')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install || return 1
}
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# from AUR package http://aur.archlinux.org/packages.php?ID=12136
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=josm
pkgver=3514
pkgrel=1
pkgdesc="An editor for OpenStreetMap written in Java."
arch=('i686' 'x86_64')
url="http://josm.openstreetmap.de/"
license=('GPL')
depends=('java-runtime' 'intltool')
source=(http://josm.openstreetmap.de/download/$pkgname-tested.jar \
$pkgname.desktop josm.sh)
md5sums=('884485d94851863a61ea97d2defa9eb8'
'e2b8c820100f3403a6cd10c1239d659a'
'a497395e555e22c5e0412ebbab911737')
build() {
cd $startdir/src
install -D -m644 ${pkgname}-tested.jar $startdir/pkg/usr/share/java/josm/josm.jar || return 1
install -D -m644 $startdir/src/${pkgname}.desktop $startdir/pkg/usr/share/applications/${pkgname}.desktop || return 1
install -D -m755 $startdir/src/${pkgname}.sh $startdir/pkg/usr/bin/josm || return 1
install -D -m644 images/logo.png ${startdir}/pkg/usr/share/pixmaps/josm.png || return 1
}
[Desktop Entry]
Name=JOSM
Comment=An editor for OpenStreetMap written in Java
Exec=josm
Icon=josm.png
Terminal=false
Type=Application
Categories=Application;Graphics;
#!/bin/bash
CLASSPATH="/usr/share/java/josm/josm.jar"
java -cp "${CLASSPATH}" org.openstreetmap.josm.gui.MainApplication "$@"
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=scons
pkgver=2.0.1
pkgrel=1
pkgdesc="Extensible Python-based build utility"
arch=('i686' 'x86_64')
url="http://scons.org"
license=('custom')
depends=('python')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('beca648b894cdbf85383fffc79516d18')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
python setup.py install --standard-lib \
--prefix=/usr \
--install-data=/usr/share --root="${pkgdir}" || return 1
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment