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
|
PKGBUILD cleanup
pkgdesc should not include the name of the package (was misspelled anyway)
Licenses were wrong, LGPL2.1, not LGPL2 and missing CCPL
Doesn't need to provide itself or elementary-svn
Shouldn't override user selected options, if they manually add !strip,
!docs, or !zipman, that should be respected unless there's a specific
reason the option needs to be as specified
Shouldn't override user build flags, if they manaually change -g or
-O2, that should be respected unless there's a specific reason that
exact build flag is required.
Doesn't need to disable-static, there are none anyway
make doc should be run in the build function
Don't need to rm -rf $pkgdir/usr, each package function has it's own
$pkgdir and they are all cleared each time makepkg is run
All paths which include a variable should be quoted
Should not put another copy of LGPL2.1 on the system, it's in common
for a reason
2013-06-12 22:25:49 -07:00
|
|
|
pkgdesc="Enlightenment GUI toolkit - GIT development snapshot"
|
2013-06-07 04:40:28 -07:00
|
|
|
arch=('i686' 'x86_64' 'arm')
|
|
|
|
url="http://www.enlightenment.org"
|
PKGBUILD cleanup
pkgdesc should not include the name of the package (was misspelled anyway)
Licenses were wrong, LGPL2.1, not LGPL2 and missing CCPL
Doesn't need to provide itself or elementary-svn
Shouldn't override user selected options, if they manually add !strip,
!docs, or !zipman, that should be respected unless there's a specific
reason the option needs to be as specified
Shouldn't override user build flags, if they manaually change -g or
-O2, that should be respected unless there's a specific reason that
exact build flag is required.
Doesn't need to disable-static, there are none anyway
make doc should be run in the build function
Don't need to rm -rf $pkgdir/usr, each package function has it's own
$pkgdir and they are all cleared each time makepkg is run
All paths which include a variable should be quoted
Should not put another copy of LGPL2.1 on the system, it's in common
for a reason
2013-06-12 22:25:49 -07:00
|
|
|
license=('LGPL2.1' 'CCPL:cc-by-sa')
|
2013-06-07 04:40:28 -07:00
|
|
|
makedepends=('doxygen' 'imagemagick')
|
PKGBUILD cleanup
pkgdesc should not include the name of the package (was misspelled anyway)
Licenses were wrong, LGPL2.1, not LGPL2 and missing CCPL
Doesn't need to provide itself or elementary-svn
Shouldn't override user selected options, if they manually add !strip,
!docs, or !zipman, that should be respected unless there's a specific
reason the option needs to be as specified
Shouldn't override user build flags, if they manaually change -g or
-O2, that should be respected unless there's a specific reason that
exact build flag is required.
Doesn't need to disable-static, there are none anyway
make doc should be run in the build function
Don't need to rm -rf $pkgdir/usr, each package function has it's own
$pkgdir and they are all cleared each time makepkg is run
All paths which include a variable should be quoted
Should not put another copy of LGPL2.1 on the system, it's in common
for a reason
2013-06-12 22:25:49 -07:00
|
|
|
depends=('efl_x11' 'evas_generic_loaders')
|
2013-06-07 04:40:28 -07:00
|
|
|
optdepends=('emotion_generic_players')
|
PKGBUILD cleanup
pkgdesc should not include the name of the package (was misspelled anyway)
Licenses were wrong, LGPL2.1, not LGPL2 and missing CCPL
Doesn't need to provide itself or elementary-svn
Shouldn't override user selected options, if they manually add !strip,
!docs, or !zipman, that should be respected unless there's a specific
reason the option needs to be as specified
Shouldn't override user build flags, if they manaually change -g or
-O2, that should be respected unless there's a specific reason that
exact build flag is required.
Doesn't need to disable-static, there are none anyway
make doc should be run in the build function
Don't need to rm -rf $pkgdir/usr, each package function has it's own
$pkgdir and they are all cleared each time makepkg is run
All paths which include a variable should be quoted
Should not put another copy of LGPL2.1 on the system, it's in common
for a reason
2013-06-12 22:25:49 -07:00
|
|
|
options=('!libtool' 'debug')
|
2013-06-07 04:40:28 -07:00
|
|
|
build() {
|
|
|
|
cd "../.."
|
PKGBUILD cleanup
pkgdesc should not include the name of the package (was misspelled anyway)
Licenses were wrong, LGPL2.1, not LGPL2 and missing CCPL
Doesn't need to provide itself or elementary-svn
Shouldn't override user selected options, if they manually add !strip,
!docs, or !zipman, that should be respected unless there's a specific
reason the option needs to be as specified
Shouldn't override user build flags, if they manaually change -g or
-O2, that should be respected unless there's a specific reason that
exact build flag is required.
Doesn't need to disable-static, there are none anyway
make doc should be run in the build function
Don't need to rm -rf $pkgdir/usr, each package function has it's own
$pkgdir and they are all cleared each time makepkg is run
All paths which include a variable should be quoted
Should not put another copy of LGPL2.1 on the system, it's in common
for a reason
2013-06-12 22:25:49 -07:00
|
|
|
export CFLAGS="$CFLAGS -fvisibility=hidden -fomit-frame-pointer"
|
2013-06-07 04:40:28 -07:00
|
|
|
make clean distclean
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-static
|
|
|
|
make
|
PKGBUILD cleanup
pkgdesc should not include the name of the package (was misspelled anyway)
Licenses were wrong, LGPL2.1, not LGPL2 and missing CCPL
Doesn't need to provide itself or elementary-svn
Shouldn't override user selected options, if they manually add !strip,
!docs, or !zipman, that should be respected unless there's a specific
reason the option needs to be as specified
Shouldn't override user build flags, if they manaually change -g or
-O2, that should be respected unless there's a specific reason that
exact build flag is required.
Doesn't need to disable-static, there are none anyway
make doc should be run in the build function
Don't need to rm -rf $pkgdir/usr, each package function has it's own
$pkgdir and they are all cleared each time makepkg is run
All paths which include a variable should be quoted
Should not put another copy of LGPL2.1 on the system, it's in common
for a reason
2013-06-12 22:25:49 -07:00
|
|
|
make doc
|
2013-06-07 04:40:28 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#check() {
|
|
|
|
# cd "../.."
|
|
|
|
# make -k check
|
|
|
|
#}
|
|
|
|
|
|
|
|
package_elementary() {
|
|
|
|
cd "../.."
|
|
|
|
make -j1 DESTDIR="$pkgdir/" install
|
PKGBUILD cleanup
pkgdesc should not include the name of the package (was misspelled anyway)
Licenses were wrong, LGPL2.1, not LGPL2 and missing CCPL
Doesn't need to provide itself or elementary-svn
Shouldn't override user selected options, if they manually add !strip,
!docs, or !zipman, that should be respected unless there's a specific
reason the option needs to be as specified
Shouldn't override user build flags, if they manaually change -g or
-O2, that should be respected unless there's a specific reason that
exact build flag is required.
Doesn't need to disable-static, there are none anyway
make doc should be run in the build function
Don't need to rm -rf $pkgdir/usr, each package function has it's own
$pkgdir and they are all cleared each time makepkg is run
All paths which include a variable should be quoted
Should not put another copy of LGPL2.1 on the system, it's in common
for a reason
2013-06-12 22:25:49 -07:00
|
|
|
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.images "$pkgdir/usr/share/licenses/$pkgname/COPYING.images"
|
|
|
|
sed -n '1,/details./p' COPYING > "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
|
|
|
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,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,images,objects}
|
2013-06-07 04:40:28 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
package_elementary_test() {
|
PKGBUILD cleanup
pkgdesc should not include the name of the package (was misspelled anyway)
Licenses were wrong, LGPL2.1, not LGPL2 and missing CCPL
Doesn't need to provide itself or elementary-svn
Shouldn't override user selected options, if they manually add !strip,
!docs, or !zipman, that should be respected unless there's a specific
reason the option needs to be as specified
Shouldn't override user build flags, if they manaually change -g or
-O2, that should be respected unless there's a specific reason that
exact build flag is required.
Doesn't need to disable-static, there are none anyway
make doc should be run in the build function
Don't need to rm -rf $pkgdir/usr, each package function has it's own
$pkgdir and they are all cleared each time makepkg is run
All paths which include a variable should be quoted
Should not put another copy of LGPL2.1 on the system, it's in common
for a reason
2013-06-12 22:25:49 -07:00
|
|
|
pkgdesc="Test application for Elementary"
|
|
|
|
depends=('elementary')
|
|
|
|
|
2013-06-07 04:40:28 -07:00
|
|
|
cd "../.."
|
|
|
|
make -j1 DESTDIR="$pkgdir/" install
|
PKGBUILD cleanup
pkgdesc should not include the name of the package (was misspelled anyway)
Licenses were wrong, LGPL2.1, not LGPL2 and missing CCPL
Doesn't need to provide itself or elementary-svn
Shouldn't override user selected options, if they manually add !strip,
!docs, or !zipman, that should be respected unless there's a specific
reason the option needs to be as specified
Shouldn't override user build flags, if they manaually change -g or
-O2, that should be respected unless there's a specific reason that
exact build flag is required.
Doesn't need to disable-static, there are none anyway
make doc should be run in the build function
Don't need to rm -rf $pkgdir/usr, each package function has it's own
$pkgdir and they are all cleared each time makepkg is run
All paths which include a variable should be quoted
Should not put another copy of LGPL2.1 on the system, it's in common
for a reason
2013-06-12 22:25:49 -07:00
|
|
|
rm -rf "$pkgdir/usr/include"
|
|
|
|
rm -rf "$pkgdir/usr/bin/"{elementary_codegen,elementary_config,elementary_quicklaunch,elementary_run,elm_prefs_cc}
|
|
|
|
rm -rf "$pkgdir/usr/lib/"{cmake,edje,elementary,libelementary.so*,pkgconfig}
|
|
|
|
rm -rf "$pkgdir/usr/share/applications/elementary_config.desktop"
|
|
|
|
rm -rf "$pkgdir/usr/share/elementary/"{config,examples,themes,edje_externals}
|
|
|
|
rm -rf "$pkgdir/usr/share/"{icons,locale}
|
2013-06-07 04:40:28 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
package_elementary_doc() {
|
PKGBUILD cleanup
pkgdesc should not include the name of the package (was misspelled anyway)
Licenses were wrong, LGPL2.1, not LGPL2 and missing CCPL
Doesn't need to provide itself or elementary-svn
Shouldn't override user selected options, if they manually add !strip,
!docs, or !zipman, that should be respected unless there's a specific
reason the option needs to be as specified
Shouldn't override user build flags, if they manaually change -g or
-O2, that should be respected unless there's a specific reason that
exact build flag is required.
Doesn't need to disable-static, there are none anyway
make doc should be run in the build function
Don't need to rm -rf $pkgdir/usr, each package function has it's own
$pkgdir and they are all cleared each time makepkg is run
All paths which include a variable should be quoted
Should not put another copy of LGPL2.1 on the system, it's in common
for a reason
2013-06-12 22:25:49 -07:00
|
|
|
pkgdesc="Documentation for Elementary"
|
|
|
|
depends=()
|
|
|
|
|
2013-06-07 04:40:28 -07:00
|
|
|
cd "../.."
|
PKGBUILD cleanup
pkgdesc should not include the name of the package (was misspelled anyway)
Licenses were wrong, LGPL2.1, not LGPL2 and missing CCPL
Doesn't need to provide itself or elementary-svn
Shouldn't override user selected options, if they manually add !strip,
!docs, or !zipman, that should be respected unless there's a specific
reason the option needs to be as specified
Shouldn't override user build flags, if they manaually change -g or
-O2, that should be respected unless there's a specific reason that
exact build flag is required.
Doesn't need to disable-static, there are none anyway
make doc should be run in the build function
Don't need to rm -rf $pkgdir/usr, each package function has it's own
$pkgdir and they are all cleared each time makepkg is run
All paths which include a variable should be quoted
Should not put another copy of LGPL2.1 on the system, it's in common
for a reason
2013-06-12 22:25:49 -07:00
|
|
|
mkdir -p "$pkgdir/usr/share/$pkgname"
|
|
|
|
cp -a doc/html "$pkgdir/usr/share/$pkgname/html"
|
|
|
|
cp -a doc/latex "$pkgdir/usr/share/$pkgname/latex"
|
2013-06-07 04:40:28 -07:00
|
|
|
}
|