2013-06-07 04:40:28 -07:00
|
|
|
# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>
|
|
|
|
pkgname=('elementary' 'elementary_test' 'elementary_doc')
|
|
|
|
pkgver=@VERSION@
|
|
|
|
pkgrel=1
|
2013-06-07 04:53:37 -07:00
|
|
|
pkgdesc="Eklementary GUI toolkit - GIT development snapshot"
|
2013-06-07 04:40:28 -07:00
|
|
|
arch=('i686' 'x86_64' 'arm')
|
|
|
|
url="http://www.enlightenment.org"
|
|
|
|
license=('LGPL2')
|
|
|
|
makedepends=('doxygen' 'imagemagick')
|
|
|
|
optdepends=('emotion_generic_players')
|
|
|
|
depends=('efl' 'evas_generic_loaders')
|
|
|
|
provides=("elementary=$pkgver" 'elementary-svn')
|
|
|
|
options=('strip' 'docs' 'zipman' '!libtool' 'debug')
|
|
|
|
buildflags="-O2 -g -fvisibility=hidden -fomit-frame-pointer"
|
|
|
|
build() {
|
|
|
|
cd "../.."
|
|
|
|
make clean distclean
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-static
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
#check() {
|
|
|
|
# cd "../.."
|
|
|
|
# make -k check
|
|
|
|
#}
|
|
|
|
|
|
|
|
package_elementary() {
|
|
|
|
cd "../.."
|
|
|
|
rm -rf $pkgdir/usr
|
|
|
|
make -j1 DESTDIR="$pkgdir/" install
|
|
|
|
install -Dm644 README $pkgdir/usr/share/$pkgname/README
|
|
|
|
install -Dm644 NEWS $pkgdir/usr/share/$pkgname/NEWS
|
|
|
|
install -Dm644 ChangeLog $pkgdir/usr/share/$pkgname/ChangeLog
|
|
|
|
install -Dm644 AUTHORS $pkgdir/usr/share/$pkgname/AUTHORS
|
|
|
|
install -Dm644 COMPLIANCE $pkgdir/usr/share/$pkgname/COMPLIANCE
|
|
|
|
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
|
|
|
|
install -Dm644 COPYING.images $pkgdir/usr/share/licenses/$pkgname/COPYING.images
|
|
|
|
ln -s ../licenses/$pkgname/COPYING $pkgdir/usr/share/$pkgname/COPYING
|
|
|
|
ln -s ../licenses/$pkgname/COPYING.images $pkgdir/usr/share/$pkgname/COPYING.images
|
|
|
|
rm -rf $pkgdir/usr/bin/elementary_test*
|
|
|
|
rm -rf $pkgdir/usr/lib/elementary/modules/test_entry
|
|
|
|
rm -rf $pkgdir/usr/lib/elementary/modules/test_map
|
|
|
|
rm -rf $pkgdir/usr/lib/elementary_testql.so
|
|
|
|
rm -rf $pkgdir/usr/share/applications/elementary_test.desktop
|
|
|
|
rm -rf $pkgdir/usr/share/elementary/examples
|
|
|
|
rm -rf $pkgdir/usr/share/elementary/images
|
|
|
|
rm -rf $pkgdir/usr/share/elementary/objects
|
|
|
|
}
|
|
|
|
|
|
|
|
package_elementary_test() {
|
|
|
|
cd "../.."
|
|
|
|
rm -rf $pkgdir/usr
|
|
|
|
make -j1 DESTDIR="$pkgdir/" install
|
|
|
|
rm -rf $pkgdir/usr/include
|
|
|
|
rm -rf $pkgdir/usr/bin/elementary_codegen
|
|
|
|
rm -rf $pkgdir/usr/bin/elementary_config
|
|
|
|
rm -rf $pkgdir/usr/bin/elementary_quicklaunch
|
|
|
|
rm -rf $pkgdir/usr/bin/elementary_run
|
|
|
|
rm -rf $pkgdir/usr/bin/elm_prefs_cc
|
|
|
|
rm -rf $pkgdir/usr/lib/cmake
|
|
|
|
rm -rf $pkgdir/usr/lib/edje
|
|
|
|
rm -rf $pkgdir/usr/lib/elementary
|
|
|
|
rm -rf $pkgdir/usr/lib/libelementary.so*
|
|
|
|
rm -rf $pkgdir/usr/lib/pkgconfig
|
|
|
|
rm -rf $pkgdir/usr/share/applications/elementary_config.desktop
|
|
|
|
rm -rf $pkgdir/usr/share/elementary/config
|
|
|
|
rm -rf $pkgdir/usr/share/elementary/edje_externals/icons.edj
|
|
|
|
rm -rf $pkgdir/usr/share/elementary/examples
|
|
|
|
rm -rf $pkgdir/usr/share/elementary/themes
|
|
|
|
rm -rf $pkgdir/usr/share/icons/elementary.png
|
|
|
|
rm -rf $pkgdir/usr/share/locale/
|
|
|
|
}
|
|
|
|
|
|
|
|
package_elementary_doc() {
|
|
|
|
cd "../.."
|
|
|
|
rm -rf $pkgdir/usr
|
|
|
|
make -j1 doc
|
|
|
|
mkdir -p $pkgdir/usr/share/$pkgname
|
|
|
|
cp -r doc/html $pkgdir/usr/share/$pkgname/html
|
|
|
|
cp -r doc/latex $pkgdir/usr/share/$pkgname/latex
|
|
|
|
}
|