add pkgbuild
This commit is contained in:
parent
0c13ec5ced
commit
e6f0c578e4
|
@ -11,6 +11,7 @@ Makefile.in
|
||||||
*.so
|
*.so
|
||||||
*.edj
|
*.edj
|
||||||
*.cmake
|
*.cmake
|
||||||
|
elementary-*-doc.tar.bz2
|
||||||
src/lib/note.txt
|
src/lib/note.txt
|
||||||
src/lib/Elementary.h
|
src/lib/Elementary.h
|
||||||
elementary_config
|
elementary_config
|
||||||
|
@ -201,3 +202,10 @@ src/examples/win_example
|
||||||
src/examples/dayselector_example
|
src/examples/dayselector_example
|
||||||
src/bin/elm_prefs_cc
|
src/bin/elm_prefs_cc
|
||||||
data/objects/test_prefs.epb
|
data/objects/test_prefs.epb
|
||||||
|
doc/html
|
||||||
|
doc/man
|
||||||
|
doc/latex
|
||||||
|
pkgbuild/PKGBUILD
|
||||||
|
pkgbuild/pkg
|
||||||
|
pkgbuild/src
|
||||||
|
pkgbuild/*.tar.xz
|
||||||
|
|
|
@ -831,6 +831,7 @@ config/mobile/Makefile
|
||||||
$po_makefile_in
|
$po_makefile_in
|
||||||
cmakeconfig/ElementaryConfig.cmake
|
cmakeconfig/ElementaryConfig.cmake
|
||||||
cmakeconfig/ElementaryConfigVersion.cmake
|
cmakeconfig/ElementaryConfigVersion.cmake
|
||||||
|
pkgbuild/PKGBUILD
|
||||||
])
|
])
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
|
@ -0,0 +1,82 @@
|
||||||
|
# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>
|
||||||
|
pkgname=('elementary' 'elementary_test' 'elementary_doc')
|
||||||
|
pkgver=@VERSION@
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Eklementary GUI toolkit - GIT development snapshot (Ecore, Eldbus, Edje, Eet, Eeze, Efreet, Eina, Eio, Embryo, Emotion, Eo, Ephysics, Ethumb, & Evas)"
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in New Issue