-
-
Save anonymous/1ba93fe07e553d777e62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Kyle Keen <keenerd@gmail.com> | |
# Contributor: Stefan Husmann <stefan-husmann@t-online.de> | |
# Contributor: Leslie P. Polzer <polzer@stardawn.org> | |
# Contributor: RaxG | |
pkgname=ede | |
pkgver=2.1 | |
pkgrel=1 | |
pkgdesc="The lightweight Equinox Desktop Environment" | |
arch=('i686' 'x86_64') | |
url="http://equinox-project.org/" | |
license=('LGPL') | |
depends=('edelib' 'libpng') | |
provides=('pekwm') | |
conflicts=('pekwm') | |
makedepends=('ftjam' 'asciidoc') | |
source=(http://downloads.sourceforge.net/project/ede/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz) | |
md5sums=('232300328557a75ad2aef5fdc064002e') | |
build() { | |
cd "$srcdir/$pkgname-$pkgver" | |
find ./ -type f -name '*.py' | xargs -n 1 sed -i 's|/usr/bin/env python$|/usr/bin/env python2|' | |
CFLAGS="-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC" | |
CXXFLAGS="-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/libpng16" | |
MAKEFLAGS="-j2" | |
./autogen.sh | |
./configure --prefix=/usr | |
# http://sourceforge.net/projects/ede/forums/forum/249616/topic/5288645 | |
sed -i '15i unset XDG_{DATA,CONFIG,CACHE,MENUS}_{HOME,DIRS,PREFIX}' data/startede | |
# fix problem with libpng12 | |
sed -i 's|-lpng12|-lpng16|' Jamconfig | |
# jam is weird, likes to error | |
jam | |
} | |
package() { | |
cd "$srcdir/$pkgname-$pkgver" | |
jam prefix="$pkgdir/usr" install || true | |
# use official pekwm eventually | |
#rm -rf "$pkgdir/usr/etc/pekwm" | |
#rm -rf "$pkgdir/usr/bin/pekwm" | |
#rm -rf "$pkgdir/usr/share/pekwm" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Kyle Keen <keenerd@gmail.com> | |
pkgname=edelib | |
pkgver=2.1 | |
pkgrel=1 | |
pkgdesc="Component construction library for Equinox Desktop Environment" | |
arch=('i686' 'x86_64') | |
url="http://equinox-project.org/" | |
_watch="http://equinox-project.org/wiki/Download" | |
license=('LGPL') | |
depends=('fltk' 'dbus-core' 'libstdc++5' 'python') | |
makedepends=('ftjam') | |
options=('staticlibs') | |
source=(http://downloads.sourceforge.net/project/ede/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz) | |
md5sums=('2e6ee2e1ceaea327967ed55868a1cb9f') | |
build() { | |
cd "$srcdir/$pkgname-$pkgver" | |
./autogen.sh | |
CFLAGS="-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC" | |
CXXFLAGS="-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC" | |
MAKEFLAGS="-j2" | |
./configure --prefix=/usr | |
jam | |
} | |
package() { | |
cd "$srcdir/$pkgname-$pkgver" | |
install -d "$pkgdir"/usr/{bin,lib} | |
# errors for no good reason? | |
jam prefix="$pkgdir/usr" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment