updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / upp / PKGBUILD
blob97edf0f97e1421fb8f69e44422e217dbaddab77a
1 # Maintainer: Jan Dolinar <dolik.rce@gmail.com>
3 pkgname=upp
4 pkgver=4193
5 pkgrel=1
6 pkgdesc="Radical and innovative multiplatform C++ framework (known as U++)"
7 arch=('any')
8 url="http://www.ultimatepp.org"
9 license=('BSD')
10 groups=()
11 depends=('theide')
12 makedepends=()
13 optdepends=('libnotify: Enables compiling gtk-styled apps')
14 provides=('upp')
15 conflicts=('upp')
16 replaces=()
17 backup=()
18 options=(emptydirs !strip)
19 install=
20 source=('http://downloads.sourceforge.net/project/upp/upp/'$pkgver'/upp-x11-src-'$pkgver'.tar.gz'
21         'GCC.bm'
22         'license.txt')
23 noextract=()
25 build() {
26   msg2 "Nothing to build..."
29 package() {
30   #copy source files
31   mkdir -p "$pkgdir/usr/share/upp"
32   msg2 "Moving the source codes..."
33   cp -r "$srcdir/upp-x11-src-$pkgver/"{bazaar,examples,reference,tutorial,uppsrc} "$pkgdir/usr/share/upp/"
34   echo "#define IDE_VERSION \"$pkgver-Arch\"" > "$pkgdir/usr/share/upp/uppsrc/ide/version.h"
35   msg2 "Copying additional files..."
36   #license
37   mkdir -p "$pkgdir/usr/share/licenses/upp"
38   cp "$srcdir/license.txt" "$pkgdir/usr/share/licenses/upp"
39   #build method
40   cp "$srcdir/GCC.bm" "$pkgdir/usr/share/upp"
41   #fix permissions
42   msg2 "Setting permissions..."
43   find "$pkgdir/usr/" -type f -exec chown root:root {} \; -exec chmod 644 {} \;
49 md5sums=('81f49219c3582f96cac73c74a4b92015'
50          '4a057aeaa906c8486cf463558b9a7d5a'
51          'b214709f096e4f50d61f50988359241e')