diff options
-rw-r--r-- | libre/vor/PKGBUILD | 41 | ||||
-rw-r--r-- | libre/vor/vor.png | bin | 1336 -> 0 bytes | |||
-rw-r--r-- | pcr/coccinella/PKGBUILD | 46 | ||||
-rw-r--r-- | pcr/coccinella/coccinella.desktop | 9 | ||||
-rw-r--r-- | pcr/coccinella/coccinella.install | 11 | ||||
-rw-r--r-- | pcr/dynamips/PKGBUILD | 29 | ||||
-rw-r--r-- | pcr/tkpng/PKGBUILD | 32 | ||||
-rw-r--r-- | pcr/tktreectrl/PKGBUILD | 46 |
8 files changed, 144 insertions, 70 deletions
diff --git a/libre/vor/PKGBUILD b/libre/vor/PKGBUILD deleted file mode 100644 index 37b39d481..000000000 --- a/libre/vor/PKGBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# $Id$ -# Maintainer (Arch): Alexander Rødseth <rodseth@gmail.com> -# Contributor (Arch): tdy <tdy@gmx.com> -# Contributor (Arch): nut543 <kfs1@online.no> -# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> - -pkgname=vor -pkgver=0.5.5 -pkgrel=3.parabola1 -pkgdesc='Classic spaceship versus asteroid field arcade game, without nonfree netpbm recommendation' -arch=('x86_64' 'i686') -url='http://jasonwoof.org/vor' -license=('GPL') -depends=('sdl_image' 'sdl_mixer') -makedepends=('gendesk') -optdepends=('povray: for customizing game graphics') -options=('!emptydirs') -source=("http://qualdan.com/$pkgname/$pkgname-$pkgver.tar.bz2" - "$pkgname.png") -sha256sums=('ead1b9786741e26d37ff7c5185b7fe1e91f90f76ebed3785225312e323b7c7da' - '07a805928f5cf2b3351e2b9ff820ea69352ad80faad43311889ffbd5f62da872') - -prepare() { - gendesk -f --pkgname "$pkgname" --pkgdesc "$pkgdesc" -} - -build() { - cd "$pkgname-$pkgver" - ./configure --prefix=/usr - make LDFLAGS=-lm -} - -package() { - install -d "$pkgdir/usr/bin" - make -C "$pkgname-$pkgver" prefix=/usr DESTDIR="$pkgdir" install - install -Dm644 "$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" - install -Dm644 "$pkgname.desktop" \ - "$pkgdir/usr/share/applications/$pkgname.desktop" -} - -# vim:set ts=2 sw=2 et: diff --git a/libre/vor/vor.png b/libre/vor/vor.png Binary files differdeleted file mode 100644 index 0fbfc72d3..000000000 --- a/libre/vor/vor.png +++ /dev/null diff --git a/pcr/coccinella/PKGBUILD b/pcr/coccinella/PKGBUILD new file mode 100644 index 000000000..f76414033 --- /dev/null +++ b/pcr/coccinella/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer (Arch): SpepS <dreamspepser at yahoo dot it> +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> + +pkgname=coccinella +pkgver=0.96.20 +pkgrel=1 +pkgdesc="A free and open-source cross-platform communication tool based on jabber with a built-in whiteboard for improved collaboration with other people." +arch=(any) +url="http://thecoccinella.org/" +license=('GPL') +depends=('tkpng' 'tktreectrl') +#optdepends=('snack: sound support') +conflicts=('coccinella-bin') +install="$pkgname.install" +source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/Coccinella-${pkgver}Src.tar.gz" + "$pkgname.desktop") +md5sums=('7d4fd6fb492f99e785b208aedb1d1e3e' + '3368bf4dbcec9ff12031c52d3898ca4c') + +build() { + cd "${srcdir}/Coccinella-${pkgver}Src" + + # Remove unneded stuff + rm -rf bin + + # Permission fixes + find . -type d -exec chmod 755 {} \; + chmod 755 Coccinella.tcl +} + +package() { + cd "${srcdir}/Coccinella-${pkgver}Src" + + # Bin + install -d "$pkgdir/usr/"{bin,share/$pkgname} + ln -s "/usr/share/$pkgname/Coccinella.tcl" "$pkgdir/usr/bin/coccinella" + + # Data + cp -a `find . -mindepth 1 -maxdepth 1 -type d` Coccinella.tcl "$pkgdir/usr/share/$pkgname" + + # Desktop file and pixmaps + install -Dm 644 ../$pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop" + install -Dm 644 themes/Oxygen/icons/128x128/coccinella2.png "$pkgdir/usr/share/pixmaps/$pkgname.png" +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/coccinella/coccinella.desktop b/pcr/coccinella/coccinella.desktop new file mode 100644 index 000000000..c5bfef1b1 --- /dev/null +++ b/pcr/coccinella/coccinella.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Coccinella +GenericName=Coccinella +Comment=Communicate with Coccinella +Exec=coccinella +Icon=coccinella +Terminal=false +Type=Application +Categories=Network;InstantMessaging; diff --git a/pcr/coccinella/coccinella.install b/pcr/coccinella/coccinella.install new file mode 100644 index 000000000..e111ef946 --- /dev/null +++ b/pcr/coccinella/coccinella.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/pcr/dynamips/PKGBUILD b/pcr/dynamips/PKGBUILD deleted file mode 100644 index a4e6008e7..000000000 --- a/pcr/dynamips/PKGBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp> -# Contributor: korjjj <korjjj+aur@gmail.com> - -pkgname=dynamips -pkgver=0.2.14 -pkgrel=1 -pkgdesc='Cisco router emulator.' -arch=('i686' 'x86_64') -url='http://www.gns3.net/dynamips' -license=('GPL2') -depends=(libpcap util-linux elfutils) -makedepends=('cmake') -source=("https://github.com/GNS3/dynamips/archive/v${pkgver}.tar.gz") - -build() { - if test "$CARCH" == x86_64; then - export DYNAMIPS_ARCH=amd64 - fi - cd ${srcdir}/${pkgname}-${pkgver} - cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr . -} - -package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install - install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" -} - -# vim:set ts=2 sw=2 et: diff --git a/pcr/tkpng/PKGBUILD b/pcr/tkpng/PKGBUILD new file mode 100644 index 000000000..35d269f0b --- /dev/null +++ b/pcr/tkpng/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer (Arch): SpepS <dreamspepser at yahoo dot it> +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> + +pkgname=tkpng +pkgver=0.9 +pkgrel=1 +pkgdesc="An open source binary package that adds PNG photo image support to Tcl/Tk." +arch=(i686 x86_64) +url="http://www.muonics.com/FreeStuff/TkPNG/" +license=('custom') +depends=('tk') +options=('!emptydirs') +source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname$pkgver.tgz") +md5sums=('43347d3d805a5bf3ff428ed812834230') + +build() { + cd "$srcdir/$pkgname$pkgver" + + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname$pkgver" + + make DESTDIR="$pkgdir/" install + + # License file + install -Dm 644 license.terms "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/tktreectrl/PKGBUILD b/pcr/tktreectrl/PKGBUILD new file mode 100644 index 000000000..b98984fb6 --- /dev/null +++ b/pcr/tktreectrl/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer (Arch): Mihai Militaru <mihai dot militaru at xmpp dot ro> +# Contributor (Arch): Foucault <foucault.online@gmail.com> +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> + +pkgname=tktreectrl +pkgver=2.4.1 +pkgrel=1 +_tkver=8.6.0 +pkgdesc="A flexible listbox widget for Tk." +arch=('i686' 'x86_64') +url="http://tktreectrl.sourceforge.net/" +license=('custom') +depends=('tcl' 'tk' 'libx11') +source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz" +"http://downloads.sourceforge.net/sourceforge/tcl/tk${_tkver}-src.tar.gz") +sha1sums=('5cd7bdfd81ba8a9faf3d842ed96f5f448111a1c9' + 'c42e160285e2d26eae8c2a1e6c6f86db4fa7663b') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + if [ "$CARCH" = "x86_64" ]; then + ./configure --prefix=/usr --enable-threads --enable-64bit + else + ./configure --prefix=/usr --enable-threads --disable-64bit + fi + + sed -i \ + "s#-I\"/usr/include\" -I\"/usr/include\"#\ + -I\"/usr/include\" -I\"../tk${_tkver}/generic\" -I\"../tk${_tkver}/unix\"#\ + g" Makefile + + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install + + mkdir -p ${pkgdir}/usr/share/doc/tktreectrl + mv ${pkgdir}/usr/lib/treectrl${pkgver}/htmldoc ${pkgdir}/usr/share/doc/tktreectrl/ + + # install license + install -Dm644 license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} |