diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-07-11 00:43:42 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-07-11 00:43:42 -0300 |
commit | d8cd25bf41052081fe22a591a90f28c505ca921c (patch) | |
tree | f716a2a5d8b6a65940730c3c96055e85239d40f3 /pcr/coccinella/PKGBUILD | |
parent | 6840b13d4c404ca329085bee3ace62cebcea5c84 (diff) | |
parent | 56a62f9b9bb33c6b97dc9a140ba15531a6fd7761 (diff) | |
download | abslibre-d8cd25bf41052081fe22a591a90f28c505ca921c.tar.gz abslibre-d8cd25bf41052081fe22a591a90f28c505ca921c.tar.bz2 abslibre-d8cd25bf41052081fe22a591a90f28c505ca921c.zip |
Merge branch 'master' of ssh://projects.parabola.nu:1863/~git/abslibre/abslibre
Diffstat (limited to 'pcr/coccinella/PKGBUILD')
-rw-r--r-- | pcr/coccinella/PKGBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
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: |