add pkgbuild for terminology

This commit is contained in:
Carsten Haitzler 2013-06-07 20:59:18 +09:00
parent ce9220ef35
commit 538969e405
3 changed files with 41 additions and 4 deletions

4
.gitignore vendored
View File

@ -61,3 +61,7 @@
/src/bin/*_generated.h
/man/Makefile
/man/Makefile.in
pkgbuild/PKGBUILD
pkgbuild/pkg
pkgbuild/src
pkgbuild/*.tar.xz

View File

@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure script.
# get rid of that stupid cache mechanism
rm -f config.cache
AC_INIT([terminology], [0.3.0], [enlightenment-devel@lists.sourceforge.net])
AC_INIT([terminology], [0.3.50], [enlightenment-devel@lists.sourceforge.net])
AC_PREREQ([2.60])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_MACRO_DIR([m4])
@ -73,6 +73,7 @@ data/themes/Makefile
data/themes/images/Makefile
data/themes/sounds/Makefile
man/Makefile
pkgbuild/PKGBUILD
])
AC_OUTPUT
@ -87,9 +88,6 @@ echo "------------------------------------------------------------------------"
echo "$PACKAGE $VERSION"
echo "------------------------------------------------------------------------"
echo
echo "Configuration Options Summary:"
echo " Ecore IMF................: $have_ecore_imf"
echo
echo "Compilation................: make (or gmake)"
echo " CPPFLAGS.................: $CPPFLAGS"
echo " CFLAGS...................: $CFLAGS"

35
pkgbuild/PKGBUILD.in Normal file
View File

@ -0,0 +1,35 @@
# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>
pkgname=('terminology')
pkgver=@VERSION@
pkgrel=1
pkgdesc="Terminal emulator for Enlightenment - GIT development snapshot"
arch=('i686' 'x86_64' 'arm')
url="http://www.enlightenment.org"
license=('BSD')
depends=('elementary' 'efl')
optdepends=('efl_x11')
options=('strip' 'zipman' '!libtool' 'debug')
buildflags="-O2 -g -fvisibility=hidden -fomit-frame-pointer"
build() {
cd "../.."
make clean distclean
./configure --prefix=/usr
make
}
#check() {
# cd "../.."
# make -k check
#}
package() {
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 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
ln -s ../licenses/$pkgname/COPYING $pkgdir/usr/share/$pkgname/COPYING
}