[arch-commits] Commit in freebasic/repos (4 files)
Felix Yan
fyan at archlinux.org
Mon Sep 21 09:27:04 UTC 2015
Date: Monday, September 21, 2015 @ 11:27:04
Author: fyan
Revision: 141373
archrelease: copy trunk to community-i686, community-x86_64
Added:
freebasic/repos/community-i686/
freebasic/repos/community-i686/PKGBUILD
(from rev 141372, freebasic/trunk/PKGBUILD)
freebasic/repos/community-x86_64/
freebasic/repos/community-x86_64/PKGBUILD
(from rev 141372, freebasic/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+)
Copied: freebasic/repos/community-i686/PKGBUILD (from rev 141372, freebasic/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-09-21 09:27:04 UTC (rev 141373)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jesse Jaara <gmail.com: jesse.jaara>
+# Contributor: rabyte <gmail.com: rabyte>
+
+pkgname=freebasic
+pkgver=1.03.0
+pkgrel=1
+pkgdesc="A free BASIC compiler"
+arch=('i686' 'x86_64')
+url="http://www.freebasic.net/"
+license=('GPL2' 'LGPL')
+depends=('ncurses')
+makedepends=('libxpm' 'gpm' 'libffi' 'libxrandr' 'mesa')
+source=("https://downloads.sourceforge.net/fbc/FreeBASIC-$pkgver-source.tar.xz")
+source_i686=("http://downloads.sourceforge.net/fbc/FreeBASIC-${pkgver}-linux-x86.tar.xz")
+source_x86_64=("http://downloads.sourceforge.net/fbc/FreeBASIC-${pkgver}-linux-x86_64.tar.xz")
+md5sums=('3b88d4ff2deacba26c5f43b5221bd5cf')
+md5sums_i686=('6d20df94ab8fe76c6936c6adf3dce9dc')
+md5sums_x86_64=('fd47aa49f04220a85a227f4c687fa377')
+
+prepare() {
+ [[ "$CARCH" = "x86_64" ]] && _arch=x86_64
+ [[ "$CARCH" = "i686" ]] && _arch=x86
+
+ mkdir -p bootstrap
+ cd "${srcdir}/FreeBASIC-${pkgver}-linux-$_arch"
+ ./install.sh -i "${srcdir}/bootstrap"
+ # Hack!
+ ln -s /usr/lib/libncursesw.so "${srcdir}/bootstrap/lib/libtinfo.so.5"
+}
+
+build() {
+ export CFLAGS="$CFLAGS"
+ export PATH="${srcdir}/bootstrap/bin:$PATH"
+ export LD_LIBRARY_PATH="${srcdir}/bootstrap/lib"
+
+ cd "${srcdir}/FreeBASIC-${pkgver}-source"
+ make CFLAGS="$CFLAGS $(pkg-config --cflags libffi)"
+}
+
+package() {
+ cd "${srcdir}/FreeBASIC-${pkgver}-source"
+ make install prefix="${pkgdir}/usr"
+}
Copied: freebasic/repos/community-x86_64/PKGBUILD (from rev 141372, freebasic/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-09-21 09:27:04 UTC (rev 141373)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jesse Jaara <gmail.com: jesse.jaara>
+# Contributor: rabyte <gmail.com: rabyte>
+
+pkgname=freebasic
+pkgver=1.03.0
+pkgrel=1
+pkgdesc="A free BASIC compiler"
+arch=('i686' 'x86_64')
+url="http://www.freebasic.net/"
+license=('GPL2' 'LGPL')
+depends=('ncurses')
+makedepends=('libxpm' 'gpm' 'libffi' 'libxrandr' 'mesa')
+source=("https://downloads.sourceforge.net/fbc/FreeBASIC-$pkgver-source.tar.xz")
+source_i686=("http://downloads.sourceforge.net/fbc/FreeBASIC-${pkgver}-linux-x86.tar.xz")
+source_x86_64=("http://downloads.sourceforge.net/fbc/FreeBASIC-${pkgver}-linux-x86_64.tar.xz")
+md5sums=('3b88d4ff2deacba26c5f43b5221bd5cf')
+md5sums_i686=('6d20df94ab8fe76c6936c6adf3dce9dc')
+md5sums_x86_64=('fd47aa49f04220a85a227f4c687fa377')
+
+prepare() {
+ [[ "$CARCH" = "x86_64" ]] && _arch=x86_64
+ [[ "$CARCH" = "i686" ]] && _arch=x86
+
+ mkdir -p bootstrap
+ cd "${srcdir}/FreeBASIC-${pkgver}-linux-$_arch"
+ ./install.sh -i "${srcdir}/bootstrap"
+ # Hack!
+ ln -s /usr/lib/libncursesw.so "${srcdir}/bootstrap/lib/libtinfo.so.5"
+}
+
+build() {
+ export CFLAGS="$CFLAGS"
+ export PATH="${srcdir}/bootstrap/bin:$PATH"
+ export LD_LIBRARY_PATH="${srcdir}/bootstrap/lib"
+
+ cd "${srcdir}/FreeBASIC-${pkgver}-source"
+ make CFLAGS="$CFLAGS $(pkg-config --cflags libffi)"
+}
+
+package() {
+ cd "${srcdir}/FreeBASIC-${pkgver}-source"
+ make install prefix="${pkgdir}/usr"
+}
More information about the arch-commits
mailing list