blob: 238cabee5ffaed8c0cac09e57af3003de8718b60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: iamawacko <iamawacko@protonmail.com>
# Contributor: 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="https://edeproject.org/"
_watch="https://edeproject.org/wiki/Download"
license=('LGPL')
depends=('edelib')
provides=('pekwm')
conflicts=('pekwm')
makedepends=('ftjam' 'asciidoc')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/edeproject/ede/archive/ede-${pkgver}.tar.gz)
sha256sums=('65fd31c3dafbd7e79f859bd0bba4dfc6333c655a801d85119834f1345f87767b')
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"
MAKEFLAGS="-j1"
./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
# jam is weird, likes to error
jam || true
}
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"
}
|