summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Hofer2015-06-20 15:46:06 +0200
committerLaurent Hofer2015-06-20 15:46:06 +0200
commit70470a1139ea215ea49becfe77d8246883aaf3bb (patch)
tree6a987fb0b02cf3df2dd248d0d49bccea53c4f588
downloadaur-fltk-xcas.tar.gz
Initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD31
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..52b9f6896677
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = fltk-xcas
+ pkgdesc = Graphical user interface toolkit for X modified by giac/xcas' author
+ pkgver = 1.3.0
+ pkgrel = 1
+ url = http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = libjpeg
+ depends = libxinerama
+ depends = libxft
+ provides = fltk
+ conflicts = fltk
+ source = http://www-fourier.ujf-grenoble.fr/~parisse/giac/freebsd/fltk-giac.tar.gz
+ md5sums = d71fee3a06747f263d81e7142306ab5b
+
+pkgname = fltk-xcas
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..6aba9caac638
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Laurent Hofer <laurenth at laurenth dot net>
+pkgname=fltk-xcas
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="Graphical user interface toolkit for X modified by giac/xcas' author"
+arch=('i686' 'x86_64')
+url="http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
+license=('GPL')
+depends=('libjpeg' 'libxinerama' 'libxft')
+makedepends=()
+checkdepends=()
+optdepends=()
+provides=('fltk')
+conflicts=('fltk')
+install=
+source=("http://www-fourier.ujf-grenoble.fr/~parisse/giac/freebsd/fltk-giac.tar.gz")
+md5sums=('d71fee3a06747f263d81e7142306ab5b')
+
+build() {
+ cd "$srcdir/fltk-$pkgver"
+ CFLAGS="-march=native -O2 -pipe"
+ CXXFLAGS="${CFLAGS} -fPIC"
+ ./configure --prefix=/usr --enable-xft --enable-threads --enable-shared
+ make
+}
+
+package() {
+ cd "$srcdir/fltk-$pkgver"
+ make DESTDIR="$pkgdir/" install
+ chmod 644 $pkgdir/usr/lib/*
+}