From e3f94cea30f5f8d22a1c6dcc00e21d003d3bd8cb Mon Sep 17 00:00:00 2001 From: aurelien Date: Fri, 16 Nov 2012 09:15:24 +0100 Subject: + theide + upp-svn --- pcr/theide/PKGBUILD | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 pcr/theide/PKGBUILD (limited to 'pcr/theide/PKGBUILD') diff --git a/pcr/theide/PKGBUILD b/pcr/theide/PKGBUILD new file mode 100644 index 000000000..26dc34f0f --- /dev/null +++ b/pcr/theide/PKGBUILD @@ -0,0 +1,54 @@ +# Contributor: Jan Dolinar +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +pkgname=theide +pkgver=5485 +pkgrel=1 +pkgdesc="Modern IDE designed for developping large U++/C++ applications" +arch=('i686' 'x86_64') +url="http://www.ultimatepp.org" +license=('BSD') +groups=() +depends=('gtk2' 'libnotify' 'desktop-file-utils') +makedepends=() +provides=('theide') +conflicts=('theide') +replaces=() +backup=() +options=(!makeflags emptydirs) +install='theide.install' +source=('http://downloads.sourceforge.net/project/upp/upp/'$pkgver'/upp-x11-src-'$pkgver'.tar.gz' + 'http://upp-mirror.googlecode.com/svn-history/r'$pkgver'/trunk/uppbox/lpbuild2/mkfile' + 'http://upp-mirror.googlecode.com/svn-history/r'$pkgver'/trunk/uppbox/lpbuild2/theide.1' + 'http://upp-mirror.googlecode.com/svn-history/r'$pkgver'/trunk/uppbox/lpbuild2/umk.1' + 'license.txt') +noextract=() + +build() { + cd "$srcdir/upp-x11-src-$pkgver" + #build + echo "#define IDE_VERSION \"$pkgver-Arch-$(uname -m)\"" > "uppsrc/ide/version.h" + msg2 "Building $pkgname..." + make -f "$srcdir/mkfile" PKG=umk FLAGS="GCC" NESTS="uppsrc" TIME= COLOR=0 USEMAINCFG=0 JOBS=5 ECHO=0 TARGET="$srcdir/umk" + make -f "$srcdir/mkfile" PKG=ide FLAGS="GCC GUI" NESTS="uppsrc" TIME= COLOR=0 USEMAINCFG=0 JOBS=5 ECHO=0 TARGET="$srcdir/theide" +} + +package(){ + #license + install -D "$srcdir/license.txt" "$pkgdir/usr/share/licenses/$pkgname/license.txt" + #man pagess + install -D "$srcdir/theide.1" "$pkgdir/usr/share/man/man1/theide.1" + install -D "$srcdir/umk.1" "$pkgdir/usr/share/man/man1/umk.1" + #desktop entry + install -D "$srcdir/upp-x11-src-$pkgver/uppsrc/ide/theide.desktop" "$pkgdir/usr/share/applications/theide.desktop" + #icon + install -D "$srcdir/upp-x11-src-$pkgver/uppsrc/ide/theide-48.png" "$pkgdir/usr/share/pixmaps/theide.png" + #fix permissions + find "$pkgdir/usr/" -print0 | xargs -0 chown root:root + find "$pkgdir/usr/" -type f -print0 | xargs -0 chmod 644 + find "$pkgdir/usr/" -type d -print0 | xargs -0 chmod 755 + #install applications + install -D "$srcdir/umk" "$pkgdir/usr/bin/umk" + install -D "$srcdir/theide" "$pkgdir/usr/bin/theide" +} + -- cgit v1.2.3