summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcommunity/aegisub/PKGBUILD21
-rwxr-xr-xcommunity/aegisub/crash-on-deatach.patch10
-rwxr-xr-xcommunity/aegisub/lua51.patch24
-rw-r--r--community/hatari/PKGBUILD8
-rw-r--r--extra/gmime/PKGBUILD6
-rw-r--r--extra/mkvtoolnix/PKGBUILD6
-rw-r--r--libre/audacious-plugins-libre/PKGBUILD14
-rw-r--r--libre/calibre-libre/PKGBUILD6
-rw-r--r--libre/gloobus-preview-libre/PKGBUILD12
-rw-r--r--libre/lilo/PKGBUILD41
-rw-r--r--libre/mkbootcd/PKGBUILD25
-rw-r--r--libre/mkbootcd/boot.msg15
-rwxr-xr-xlibre/mkbootcd/mkbootcd144
-rw-r--r--libre/mkbootcd/mkbootcd.conf39
-rw-r--r--libre/mkbootcd/options.msg6
-rw-r--r--libre/xbmc-libre/PKGBUILD4
-rw-r--r--libre/xtensa-unknown-elf-binutils/PKGBUILD (renamed from libre/xtensa-elf-binutils/PKGBUILD)28
-rw-r--r--libre/xtensa-unknown-elf-binutils/binutils-2.23.2-texinfo-5.0.patch (renamed from libre/xtensa-elf-binutils/binutils-2.23.2-texinfo-5.0.patch)0
-rw-r--r--libre/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install (renamed from libre/xtensa-elf-binutils/binutils.install)0
-rw-r--r--libre/xtensa-unknown-elf-gcc/PKGBUILD159
-rw-r--r--libre/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install20
-rw-r--r--libre/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD47
-rw-r--r--pcr/lilo/PKGBUILD47
-rw-r--r--pcr/lilo/lilo.conf (renamed from libre/lilo/lilo.conf)0
-rw-r--r--pcr/lilo/lilo.install (renamed from libre/lilo/lilo.install)0
-rw-r--r--pcr/smtube/PKGBUILD22
26 files changed, 350 insertions, 354 deletions
diff --git a/community/aegisub/PKGBUILD b/community/aegisub/PKGBUILD
index 3d4671472..03044338c 100755
--- a/community/aegisub/PKGBUILD
+++ b/community/aegisub/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 85317 2013-03-01 00:32:14Z alucryd $
+# $Id: PKGBUILD 93265 2013-06-30 19:01:59Z alucryd $
# Maintainer: Maxime Gauduin <alucryd@gmail.com>
# Contributor: kozec <kozec@kozec.com>
# Contributor: Limao Luo <luolimao+AUR@gmail.com>
pkgname=aegisub
-pkgver=3.0.2
-pkgrel=6
+pkgver=3.0.3
+pkgrel=1
pkgdesc="A general-purpose subtitle editor with ASS/SSA support"
arch=('i686' 'x86_64')
url="http://www.aegisub.org"
@@ -13,28 +13,19 @@ license=('GPL' 'BSD')
depends=('desktop-file-utils' 'ffmpegsource' 'fftw' 'hicolor-icon-theme' 'hunspell' 'lua51' 'wxgtk2.9' 'hicolor-icon-theme')
makedepends=('mesa')
install=aegisub.install
-source=("http://ftp.aegisub.org/pub/releases/${pkgname}-${pkgver}.tar.xz" 'crash-on-deatach.patch' 'lua51.patch')
-sha256sums=('68ec20cf49f513608cec400bd462ebb762d6057109968fb01d842e10e6e7fb39'
- '85e2c2a6bf091f5b4ca29a0149df8d8ca6219d98a4095f79809f2e698983bca4'
- 'ce67b143cc2949fbbd7d72862c54005030339d1c364753335acec271ca9e179d')
+source=("http://ftp.aegisub.org/pub/releases/${pkgname}-${pkgver}.tar.xz")
+sha256sums=('9623e1967ae774d8a34fae531dcf76f15ae060f864cf941d34ba3d64e1986efc')
build() {
cd "${srcdir}"/${pkgname}/${pkgname}
-# Patch
- patch -Np1 -i "${srcdir}"/crash-on-deatach.patch
- patch -Np1 -i "${srcdir}"/lua51.patch
-
-# Build
- autoreconf -ivf
- ./configure --prefix=/usr --without-{portaudio,openal,oss} --with-wxdir=/usr/include/wx-2.9 --with-wx-config=/usr/bin/wx-config-2.9
+ ACLOCAL=aclocal AUTOMAKE=automake ./autogen.sh --prefix=/usr --without-{portaudio,openal,oss} --with-wxdir=/usr/include/wx-2.9 --with-wx-config=/usr/bin/wx-config-2.9
make
}
package() {
cd "${srcdir}"/${pkgname}/${pkgname}
-# Install
make DESTDIR="$pkgdir" install
# License
diff --git a/community/aegisub/crash-on-deatach.patch b/community/aegisub/crash-on-deatach.patch
deleted file mode 100755
index 1a1a3d007..000000000
--- a/community/aegisub/crash-on-deatach.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/video_display.cpp
-+++ b/src/video_display.cpp
-@@ -309,6 +309,7 @@
- }
-
- void VideoDisplay::UpdateSize() {
-+ if (zoomValue<=0) zoomValue = 1;
- if (!con->videoController->IsLoaded() || !IsShownOnScreen()) return;
-
- videoSize.Set(con->videoController->GetWidth(), con->videoController->GetHeight());
diff --git a/community/aegisub/lua51.patch b/community/aegisub/lua51.patch
deleted file mode 100755
index f93fb02de..000000000
--- a/community/aegisub/lua51.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -371,9 +371,9 @@
-
- AS_IF([test x$with_lua = xno], [$with_auto4_lua="no"; lua_disabled="(disabled)"], [
- # First try pkg-config with several names
-- PKG_CHECK_MODULES(LUA, lua >= 5.1, [with_auto4_lua="yes"], [
-- PKG_CHECK_MODULES(LUA, lua5.1 >= 5.1, [with_auto4_lua="yes"], [
-- PKG_CHECK_MODULES(LUA, lua-5.1 >= 5.1, [with_auto4_lua="yes"], [
-+ PKG_CHECK_MODULES(LUA, lua5.1 >= 5.1 lua5.1 < 5.2, [with_auto4_lua="yes"], [
-+ PKG_CHECK_MODULES(LUA, lua-5.1 >= 5.1 lua-5.1 < 5.2, [with_auto4_lua="yes"], [
-+ PKG_CHECK_MODULES(LUA, lua >= 5.1 lua < 5.2, [with_auto4_lua="yes"], [
- # Still not found so try to autodetect
- AS_IF([test -z "$LUA_CFLAGS"],
- [AGI_FIND_HEADER([LUA], [lua.hpp],
-@@ -393,7 +393,7 @@
- return !res;
- }])
- AS_IF([test x$agi_cv_with_lua = xno && test x$with_lua = xyes],
-- [AC_MSG_FAILURE([--with-lua was specified, but lua could not be found. Try setting LUA_CLFAGS and LUA_LIBS manually])])
-+ [AC_MSG_FAILURE([--with-lua was specified, but lua 5.1 could not be found. Try setting LUA_CLFAGS and LUA_LIBS manually])])
- with_auto4_lua=$agi_cv_with_lua
- ])])])
- ])
diff --git a/community/hatari/PKGBUILD b/community/hatari/PKGBUILD
index fd61ba2e9..3eb1385fd 100644
--- a/community/hatari/PKGBUILD
+++ b/community/hatari/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 90046 2013-05-06 19:37:48Z foutrelis $
+# $Id: PKGBUILD 93259 2013-06-30 06:28:12Z lcarlier $
# Maintainer: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
pkgname=hatari
-pkgver=1.6.2
-pkgrel=2
+pkgver=1.7.0
+pkgrel=1
pkgdesc='An Atari ST and STE emulator'
arch=('i686' 'x86_64')
url='http://hatari.sourceforge.net/'
@@ -11,7 +11,7 @@ license=('GPL')
depends=('sdl' 'libpng')
makedepends=('cmake')
source=("http://download.tuxfamily.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('3957d0c5f8093313c798e565af9a92e1')
+md5sums=('67b16ec0a0994aa6a935b193254118e0')
build() {
cd ${pkgname}-${pkgver}
diff --git a/extra/gmime/PKGBUILD b/extra/gmime/PKGBUILD
index 2de2ee148..a208efd27 100644
--- a/extra/gmime/PKGBUILD
+++ b/extra/gmime/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 178917 2013-02-28 18:49:48Z ioni $
+# $Id: PKGBUILD 189227 2013-06-30 19:58:41Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Ben <ben@benmazer.net>
pkgname=gmime
-pkgver=2.6.15
+pkgver=2.6.16
pkgrel=1
pkgdesc="Core mime parsing library"
arch=('i686' 'x86_64')
@@ -13,7 +13,7 @@ depends=('glib2' 'gpgme' 'zlib')
makedepends=('gtk-sharp-2')
options=('!libtool')
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('b4c2a0b99b82063387cd750a38421ebaa0636f339e67984a84371bcb697dc99a')
+sha256sums=('1093c2c9b4644d53b9c2df30042b3c4c2e9141d3e65e299030d227485d95c8af')
build() {
# get rid of that .wapi errors in fakeroot
diff --git a/extra/mkvtoolnix/PKGBUILD b/extra/mkvtoolnix/PKGBUILD
index 4b0a2e4e9..0669531dd 100644
--- a/extra/mkvtoolnix/PKGBUILD
+++ b/extra/mkvtoolnix/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 184009 2013-04-30 20:08:12Z giovanni $
+# $Id: PKGBUILD 189221 2013-06-30 05:10:45Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: xduugu <xduugu@gmx.com>
pkgbase=mkvtoolnix
pkgname=('mkvtoolnix-cli' 'mkvtoolnix-gtk')
-pkgver=6.2.0
+pkgver=6.3.0
pkgrel=1
arch=('i686' 'x86_64')
license=('GPL')
@@ -12,7 +12,7 @@ url="http://www.bunkus.org/videotools/mkvtoolnix/index.html"
makedepends=('libmatroska' 'flac' 'libvorbis' 'file' 'wxgtk'
'boost-libs' 'lzo2' 'xdg-utils' 'boost' 'ruby')
source=("http://www.bunkus.org/videotools/${pkgbase}/sources/${pkgbase}-${pkgver}.tar.xz")
-md5sums=('a09b69f7e17677f1b5bfd15720dd004c')
+md5sums=('3d64652b1aa3ce3faaa468b11dcbd82c')
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
diff --git a/libre/audacious-plugins-libre/PKGBUILD b/libre/audacious-plugins-libre/PKGBUILD
index 4c47b6101..ee0744317 100644
--- a/libre/audacious-plugins-libre/PKGBUILD
+++ b/libre/audacious-plugins-libre/PKGBUILD
@@ -29,12 +29,12 @@ conflicts=$_pkgname
provides=$_pkgname=$pkgver
makedepends=("audacious>=${pkgver}"
- 'oss' 'alsa-lib' 'pulseaudio' 'jack2' 'lame' 'libvorbis' 'flac'
+ 'oss-libre' 'alsa-lib' 'pulseaudio' 'jack2' 'lame' 'libvorbis' 'flac'
'mpg123' 'faad2' 'ffmpeg' 'libmodplug' 'fluidsynth' 'libcdio-paranoia' 'libsidplay' 'wavpack'
- 'libnotify' 'lirc-utils' 'curl' 'libmtp'
+ 'libnotify' 'lirc-utils-libre' 'curl' 'libmtp'
'neon' 'libmms' 'libcue')
-optdepends=('oss: Open Sound System v4 output'
+optdepends=('oss-libre: Open Sound System v4 output'
'alsa-lib: Advanced Linux Sound Arch. output'
'pulseaudio: PulseAudio output'
'jack2: Jack Audio Connection Kit output'
@@ -52,7 +52,7 @@ optdepends=('oss: Open Sound System v4 output'
'wavpack: WavPack input'
'libnotify: libnotify OSD'
- 'lirc-utils: LIRC'
+ 'lirc-utils-libre: LIRC'
'curl: AudioScrobbler Client'
'libmtp: Upload to MTP device'
@@ -63,7 +63,7 @@ optdepends=('oss: Open Sound System v4 output'
source=("http://distfiles.audacious-media-player.org/${_pkgname}-${pkgver}.tar.bz2")
sha1sums=('2b2f1d30f0b790e6cc3e00483ed4774b0fa1fc42')
-build() {
+prepare() {
# Retrieve upstream & remove plugin 'psf' due to issues mentioned above.
sed -i s/enable_psf=yes/enable_psf=no/ ${_pkgname}-$pkgver/configure
@@ -105,6 +105,10 @@ build() {
install -m644 LICENSE.voice_removal $l
install -m644 LICENSE.xfs $l
popd
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
./configure \
--prefix=/usr \
diff --git a/libre/calibre-libre/PKGBUILD b/libre/calibre-libre/PKGBUILD
index 0b61073cf..339969ba1 100644
--- a/libre/calibre-libre/PKGBUILD
+++ b/libre/calibre-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 92987 2013-06-21 10:34:05Z jelle $
+# $Id: PKGBUILD 93260 2013-06-30 12:27:03Z jelle $
# Maintainer: jelle van der Waa <jelle@vdwaa.nl>
# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
@@ -9,7 +9,7 @@
_pkgname=calibre
pkgname=calibre-libre
-pkgver=0.9.36
+pkgver=0.9.37
pkgrel=1
pkgdesc="Ebook management application, with unar support included and nonfree fonts removed"
arch=('i686' 'x86_64' 'mips64el')
@@ -30,7 +30,7 @@ install=calibre.install
source=("http://sourceforge.net/projects/calibre/files/${pkgver}/calibre-${pkgver}.tar.xz"
'desktop_integration.patch'
'calibre-mount-helper')
-md5sums=('f7dfb823bd17435c99f20b8a5f904b2a'
+md5sums=('76db2eb11fe51d85ae9121203defb677'
'8353d1878c5a498b3e49eddef473605f'
'675cd87d41342119827ef706055491e7')
diff --git a/libre/gloobus-preview-libre/PKGBUILD b/libre/gloobus-preview-libre/PKGBUILD
index 12bff5f1d..5881a4c2e 100644
--- a/libre/gloobus-preview-libre/PKGBUILD
+++ b/libre/gloobus-preview-libre/PKGBUILD
@@ -1,17 +1,20 @@
-# $Id: PKGBUILD 91027 2013-05-18 11:44:36Z bgyorgy $
+# $Id: PKGBUILD 91026 2013-05-18 11:44:23Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
_pkgname=gloobus-preview
pkgname=gloobus-preview-libre
pkgver=0.4.5.290
_pkgver=0.4.5-ubuntu11~ppa290
-pkgrel=1
-pkgdesc="Gnome application designed to enable a full screen preview of any kind of file (using bsdtar to preview RAR archives)"
+pkgrel=1.1
+pkgdesc="Gnome application designed to enable a full screen preview of any kind of file, with libarchive support"
arch=('i686' 'x86_64')
url="http://gloobus.net/"
license=('GPL')
depends=('gstreamer0.10-base-plugins' 'gtksourceview3' 'poppler-glib' 'python2-dbus' 'python2-gconf' 'taglib' 'xdg-utils')
makedepends=('boost' 'bzr' 'djvulibre' 'libspectre')
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
optdepends=('djvulibre: Preview DjVu documents'
'gstreamer0.10-bad-plugins: Extra media codecs'
'gstreamer0.10-good-plugins: Extra media codecs'
@@ -20,6 +23,7 @@ optdepends=('djvulibre: Preview DjVu documents'
'libspectre: Preview PostScript documents'
'p7zip: View content of 7z archives'
'unoconv: Preview LibreOffice compatible documents'
+ 'libarchive: View content of RAR archives'
'unzip: View content of .ZIP archives')
options=('!libtool')
install=$_pkgname.install
@@ -52,7 +56,7 @@ prepare() {
# Use xdg-open
patch -Np1 -i "$srcdir/use-xdg-open.patch"
- # Use bsdtar if unrar is not found.
+ # Use bsdtar (libarchive) if unrar is not found.
patch -Np0 -i "$srcdir/gloobus-preview-usr-bsdtar-for-rar.patch"
### Prepare gloobus-sushi
diff --git a/libre/lilo/PKGBUILD b/libre/lilo/PKGBUILD
deleted file mode 100644
index 7bca08571..000000000
--- a/libre/lilo/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Eric Belanger <eric@archlinux.org>
-# Contributor: judd <jvinet@zeroflux.org>
-# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
-
-pkgname=lilo
-pkgver=23.2
-pkgrel=3.2
-pkgdesc="A bootloader for GNU/Linux, Parabola rebranded"
-arch=('i686' 'x86_64')
-url="https://alioth.debian.org/projects/lilo/"
-license=('BSD')
-# While lilo should stay in the base category,
-# it usually makes no sense if it is installed
-# with pacman -S base, therefore, don't add
-# the base group here.
-#groups=('base')
-backup=('etc/lilo.conf')
-depends=('device-mapper' 'coreutils')
-makedepends=('bin86' 'sharutils')
-optdepends=('perl: to use keytab-lilo')
-install=lilo.install
-options=('!makeflags')
-source=("http://lilo.alioth.debian.org/ftp/sources/${pkgname}-${pkgver}.tar.gz"
- 'lilo.conf')
-md5sums=('51b9b9db665d3b8724919e3d46054d12'
- 'd06b3c4655577ed01fea79ec5743b4b0')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- export LC_ALL=C
- make all
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -D -m644 "${srcdir}/lilo.conf" "${pkgdir}/etc/lilo.conf"
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
diff --git a/libre/mkbootcd/PKGBUILD b/libre/mkbootcd/PKGBUILD
deleted file mode 100644
index 8990fbae3..000000000
--- a/libre/mkbootcd/PKGBUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-# $Id: PKGBUILD 137619 2011-09-10 08:04:29Z pierre $
-# Maintainer : Tobias Powalowski <tpowa@archlinux.org>
-
-pkgname=mkbootcd
-pkgver=2008.09
-pkgrel=2.2
-pkgdesc="Advanced, modular isolinux bootcd image creation utility (Parabola rebranded)"
-arch=('any')
-license=('GPL')
-url="https://parabolagnulinux.org/"
-depends=('mkinitcpio' 'cdrkit' 'syslinux')
-source=('boot.msg' 'mkbootcd' 'mkbootcd.conf' 'options.msg')
-backup=('etc/mkbootcd.conf')
-md5sums=('2b55189d64e5263c5a3925a7b949c1f8'
- '521107289007f0c3f11ddbb6fdfcbd22'
- '4794673fa413eb5459b40172be7ae541'
- '75b69407f88f2838c66f4dda4d8455e3')
-
-package() {
- cd $srcdir
- install -D -m755 mkbootcd $pkgdir/usr/sbin/mkbootcd
- install -D -m644 mkbootcd.conf $pkgdir/etc/mkbootcd.conf
- install -D -m644 boot.msg $pkgdir/usr/share/mkbootcd/boot.msg
- install -D -m644 options.msg $pkgdir/usr/share/mkbootcd/options.msg
-}
diff --git a/libre/mkbootcd/boot.msg b/libre/mkbootcd/boot.msg
deleted file mode 100644
index 5e441e746..000000000
--- a/libre/mkbootcd/boot.msg
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-------------------------------------------------------------------------------
-Parabola GNU/Linux-libre
-ISOLINUX BOOT
-created with 'mkbootcd' written by Tobias Powalowski <tpowa@archlinux.org>
-rebranded for Parabola by André Silva <emulatorman@lavabit.com>
-
-Press ENTER or type 'parabola' to boot the CD.
-
-If you wish to change your defaults to boot into your existing system,
-type 'vmlinuz initrd=initrd.img <any_other_boot_option>'
-Use the F2 key for troubleshooting and options.
-------------------------------------------------------------------------------
-
diff --git a/libre/mkbootcd/mkbootcd b/libre/mkbootcd/mkbootcd
deleted file mode 100755
index 012267be9..000000000
--- a/libre/mkbootcd/mkbootcd
+++ /dev/null
@@ -1,144 +0,0 @@
-#! /bin/sh
-# Created by Tobias Powalowski <tpowa@archlinux.org>
-# Rebranded for Parabola by André Silva <emulatorman@lavabit.com>
-# Settings
-APPNAME=$(basename "${0}")
-CONFIG="/etc/mkbootcd.conf"
-GENIMG=""
-BURN="0"
-BLANK="0"
-GRUB="0"
-TARNAME=""
-export TEMPDIR=$(mktemp /tmp/mkbootcd.XXXX)
-usage ()
-{
- echo "${APPNAME}: usage"
- echo " -g=IMAGE Generate a ISO image as IMAGE"
- echo " -c=CONFIG Use CONFIG file. default: /etc/mkbootcd.conf"
- echo " -B Burn the ISO image after creation"
- echo " -b Blanking media first"
- echo " -grub Use grub instead of isolinux"
- echo " -t=TARNAME Generate a tar image instead of an iso image"
- echo " -h This message."
- exit 1
-}
-
-[ "$1" == "" ] && usage
-
-while [ $# -gt 0 ]; do
- case $1 in
- -c=*|--c=*) CONFIG="$(echo $1 | awk -F= '{print $2;}')" ;;
- -g=*|--g=*) GENIMG="$(echo $1 | awk -F= '{print $2;}')" ;;
- -B|--B) BURN="1" ;;
- -b|--b) BLANK="1" ;;
- -grub|--grub) GRUB="1" ;;
- -t=*|--t=*) TARNAME="$(echo $1 | awk -F= '{print $2;}')" ;;
- -h|--h|?) usage ;;
- *) usage ;;
- esac
- shift
-done
-
-if [ "${TARNAME}" = "" -a "${GENIMG}" = "" ]; then
- echo "ERROR: No image name specified, please use the -g option"
- exit 1
-fi
-
-if [ ! -f "${CONFIG}" ]; then
- echo "config file '${CONFIG}' cannot be found, aborting..."
- exit 1
-fi
-
-. "${CONFIG}"
-# export for mkinitcpio
-[ -n "${APPENDBOOTMESSAGE}" ] && export APPENDBOOTMESSAGE
-[ -n "${APPENDBOOTMESSAGE_SYSLINUX}" ] && export APPENDBOOTMESSAGE_SYSLINUX
-[ -n "${APPENDBOOTMESSAGE_SYSLINUX_LOWMEM}" ] && export APPENDBOOTMESSAGE_SYSLINUX_LOWMEM
-[ -n "${APPENDOPTIONSBOOTMESSAGE}" ] && export APPENDOPTIONSBOOTMESSAGE
-
-if [ "$GRUB" = "1" ]; then
- export RUNPROGRAM="${APPNAME}-grub"
- export BOOTDIRNAME="boot"
-else
- export RUNPROGRAM="${APPNAME}"
- export BOOTDIRNAME="isolinux"
-fi
-[ "${BOOTMESSAGE}" = "" ] && export BOOTMESSAGE=$(mktemp /tmp/bootmessage.XXXX)
-[ "${OPTIONSBOOTMESSAGE}" = "" ] && export OPTIONSBOOTMESSAGE=$(mktemp /tmp/optionsbootmessage.XXXX)
-[ "${ISONAME}" = "" ] && export ISONAME=$(mktemp /tmp/isoname.XXXX)
-export USEKERNEL=${VERSION}
-# begin script
-[ -e ${TEMPDIR} ] && rm -r ${TEMPDIR}
-mkdir -p ${TEMPDIR}/${BOOTDIRNAME}
-if [ "$GRUB" = "1" ]; then
- mkdir ${TEMPDIR}/${BOOTDIRNAME}/grub
- install -m755 /usr/share/grub/i386-pc/stage2_eltorito ${TEMPDIR}/${BOOTDIRNAME}/grub/stage2_eltorito
-else
- install -m755 /usr/lib/syslinux/isolinux.bin ${TEMPDIR}/${BOOTDIRNAME}/isolinux.bin
-fi
-# create isolinux.cfg
-if [ "$GRUB" = "1" ]; then
- echo ":: Creating menu.lst ..."
- [ ! -e "${MENULST}" ] && echo "No menu.lst found" && exit 1
- sed "s|@@PROMPT@@|${PROMPT}|g;s|@@TIMEOUT@@|${TIMEOUT}|g;s|@@KERNEL_BOOT_OPTIONS@@|${KERNEL_BOOT_OPTIONS}|g" \
- ${MENULST} \
- > ${TEMPDIR}/${BOOTDIRNAME}/grub/menu.lst
-else
- echo ":: Creating isolinux.cfg ..."
- if [ "${ISOLINUXCFG}" = "" ]; then
- [ -e ${TEMPDIR}/${BOOTDIRNAME}/isolinux.cfg ] && rm ${TEMPDIR}/${BOOTDIRNAME}/isolinux.cfg
- echo "prompt ${PROMPT}" >> ${TEMPDIR}/${BOOTDIRNAME}/isolinux.cfg
- echo "timeout ${TIMEOUT}" >> ${TEMPDIR}/${BOOTDIRNAME}/isolinux.cfg
- echo "display boot.msg" >> ${TEMPDIR}/${BOOTDIRNAME}/isolinux.cfg
- echo "F1 boot.msg" >> ${TEMPDIR}/${BOOTDIRNAME}/isolinux.cfg
- echo "F2 options.msg" >> ${TEMPDIR}/${BOOTDIRNAME}/isolinux.cfg
- echo "default parabola" >> ${TEMPDIR}/${BOOTDIRNAME}/isolinux.cfg
- echo "label parabola" >> ${TEMPDIR}/${BOOTDIRNAME}/isolinux.cfg
- echo "kernel vmlinuz" >> ${TEMPDIR}/${BOOTDIRNAME}/isolinux.cfg
- echo "append initrd=initrd.img ${KERNEL_BOOT_OPTIONS}" >> ${TEMPDIR}/${BOOTDIRNAME}/isolinux.cfg
- else
- sed "s|@@PROMPT@@|${PROMPT}|g;s|@@TIMEOUT@@|${TIMEOUT}|g;s|@@KERNEL_BOOT_OPTIONS@@|${KERNEL_BOOT_OPTIONS}|g" \
- ${ISOLINUXCFG} > ${TEMPDIR}/${BOOTDIRNAME}/isolinux.cfg
- fi
- [ ! -s ${TEMPDIR}/${BOOTDIRNAME}/isolinux.cfg ] && echo "No isolinux.cfg found" && exit 1
-fi
-echo ":: Calling mkinitcpio CONFIG=${MKINITCPIO_CONFIG} KERNEL=${VERSION} ..."
-# generate initramdisk
-echo ":: Creating initramdisk ..."
- mkinitcpio -c ${MKINITCPIO_CONFIG} -k ${VERSION} -g ${TEMPDIR}/${BOOTDIRNAME}/initrd.img
-echo ":: Using ${KERNEL} as image kernel ..."
- install -m644 ${KERNEL} ${TEMPDIR}/${BOOTDIRNAME}/vmlinuz
- install -m644 ${BOOTMESSAGE} ${TEMPDIR}/${BOOTDIRNAME}/boot.msg
- install -m644 ${OPTIONSBOOTMESSAGE} ${TEMPDIR}/${BOOTDIRNAME}/options.msg
- [ ! -s ${TEMPDIR}/${BOOTDIRNAME}/boot.msg ] && echo 'ERROR:no boot.msg found, aborting!' && exit 1
- [ ! -s ${TEMPDIR}/${BOOTDIRNAME}/options.msg ] && echo 'ERROR:no options.msg found, aborting!' && exit 1
-# create image
-if ! [ "${TARNAME}" = "" ]; then
- echo ":: Creating tar image ..."
- [ -e ${TARNAME} ] && rm ${TARNAME}
- rm ${TEMPDIR}/parabola/pkg/*.pkg.tar.gz > /dev/null 2>&1
- tar cfv ${TARNAME} ${TEMPDIR} > /dev/null 2>&1 && echo ":: tar Image succesfull created at ${TARNAME}"
-else
- echo ":: Creating ISO image ..."
- [ -e ${GENIMG} ] && rm ${GENIMG}
- [ -s "${ISONAME}" ] && ISONAME=$(cat $ISONAME) || ISONAME="Parabola GNU/Linux-libre"
- if [ "$GRUB" = "1" ]; then
- mkisofs -RlDJLV "${ISONAME}" -b boot/grub/stage2_eltorito -c boot/boot.cat \
- -no-emul-boot -boot-load-size 4 -boot-info-table -o ${GENIMG} ${TEMPDIR}/ > /dev/null 2>&1
- else
- mkisofs -RlDJLV "${ISONAME}" -b isolinux/isolinux.bin -c isolinux/boot.cat \
- -no-emul-boot -boot-load-size 4 -boot-info-table -o ${GENIMG} ${TEMPDIR}/ > /dev/null 2>&1
- fi
- [ $? -ne 0 ] && echo ":: ISO Image succesfull created at ${GENIMG}"
- # burning/blanking image
- if [ "$BLANK" = "1" ]; then
- echo ":: Blanking media DEVICE=${DEVICE}, BLANKMODE=${BLANKMODE}, SPEED=${SPEED} ..."
- cdrecord dev=${DEVICE} speed=${SPEED} blank=${BLANKMODE} > /dev/null 2>&1 && echo ":: Successfull."
- fi
- if [ "$BURN" = "1" ]; then
- echo ":: Burning ISO image DEVICE=${DEVICE}, SPEED=${SPEED} ..."
- cdrecord dev=${DEVICE} speed=${SPEED} -eject ${GENIMG} > /dev/null 2>&1 && echo ":: Successfull."
- fi
-fi
-# clean /tmp
-rm -r ${TEMPDIR}
diff --git a/libre/mkbootcd/mkbootcd.conf b/libre/mkbootcd/mkbootcd.conf
deleted file mode 100644
index 5b287a6ea..000000000
--- a/libre/mkbootcd/mkbootcd.conf
+++ /dev/null
@@ -1,39 +0,0 @@
-# Created by Tobias Powalowski <tpowa@archlinux.org>
-# Rebranded for Parabola by André Silva <emulatorman@lavabit.com>
-# config file of mkbootcd
-
-# DEFAULT kernel boot options like root=/dev/hda3 etc.
-# add your root= option, if you boot from a disk device
-# and don't want to add it by hand on each boot
-KERNEL_BOOT_OPTIONS=""
-
-# mkinitcpio config file, defaulted to stock config file
-MKINITCPIO_CONFIG="/etc/mkinitcpio.conf"
-
-# kernel version, defaulted to build for runtime kernel
-VERSION="$(uname -r)"
-
-# kernel image, defaulted to stock libre kernel
-KERNEL="/boot/vmlinuz-linux-libre"
-
-# boot message files
-BOOTMESSAGE="/usr/share/mkbootcd/boot.msg"
-OPTIONSBOOTMESSAGE="/usr/share/mkbootcd/options.msg"
-
-# menu.lst or isolinux.cfg file to use
-ISOLINUXCFG=""
-MENULST=""
-
-# Prompt on CD boot, defaulted to yes, 1=yes 0=no
-PROMPT="1"
-
-# Name of the ISO, if empty Parabola GNU/Linux-libre is used if not set by a HOOK later
-ISONAME=""
-
-# Timeout in seconds on CD boot, defaulted to 0, because we prompt by default
-TIMEOUT="0"
-
-# Setting cdrecord options
-DEVICE=""
-SPEED=""
-BLANKMODE=""
diff --git a/libre/mkbootcd/options.msg b/libre/mkbootcd/options.msg
deleted file mode 100644
index 63f56e755..000000000
--- a/libre/mkbootcd/options.msg
+++ /dev/null
@@ -1,6 +0,0 @@
-------------------------------------------------------------------------------
-Parabola GNU/Linux-libre options and troubleshooting:
-
-- If your system hangs during the boot process, any combinations of the
- boot options noapic acpi=off pci=routeirq nosmp may be useful.
-------------------------------------------------------------------------------
diff --git a/libre/xbmc-libre/PKGBUILD b/libre/xbmc-libre/PKGBUILD
index 3595b95cf..37fae91a9 100644
--- a/libre/xbmc-libre/PKGBUILD
+++ b/libre/xbmc-libre/PKGBUILD
@@ -10,8 +10,8 @@ _prefix=/usr
_pkgname=xbmc
pkgname=xbmc-libre
pkgver=12.2
-pkgrel=4
-pkgdesc="A software media player and entertainment hub for digital media, with libarchive recommendation included"
+pkgrel=4.1
+pkgdesc="A software media player and entertainment hub for digital media, with libarchive recommendation"
arch=('i686' 'x86_64')
url="http://xbmc.org"
license=('GPL' 'custom')
diff --git a/libre/xtensa-elf-binutils/PKGBUILD b/libre/xtensa-unknown-elf-binutils/PKGBUILD
index 73000b60d..8527a057d 100644
--- a/libre/xtensa-elf-binutils/PKGBUILD
+++ b/libre/xtensa-unknown-elf-binutils/PKGBUILD
@@ -3,17 +3,22 @@
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
# Contributor (Parabola): Márcio Silva <coadde@lavabit.com>
-pkgname=xtensa-elf-binutils
+_pkgname=binutils
+_target="xtensa-unknown-elf"
+_sysroot="/usr/${_target}"
+
+pkgname=${_target}-binutils
pkgver=2.23.2
-pkgrel=2.3
-pkgdesc="A set of programs to assemble and manipulate binary and object files"
+pkgrel=2.1
+pkgdesc="A set of programs to assemble and manipulate binary and object files for the Xtensa architecture"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/binutils/"
license=('GPL')
+groups=("${_target}-base-devel")
depends=('glibc>=2.17' 'zlib')
checkdepends=('dejagnu' 'bc')
options=('!libtool' '!distcc' '!ccache')
-install=binutils.install
+install=${_target}-binutils.install
source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2{,.sig}
binutils-2.23.2-texinfo-5.0.patch)
md5sums=('4f8fa651e35ef262edc01d60fb45702e'
@@ -36,23 +41,24 @@ prepare() {
build() {
cd ${srcdir}/binutils-build
+ CFLAGS=" -pipe " \
+ CXXFLAGS=" -pipe " \
${srcdir}/binutils-${pkgver}/configure --prefix=/usr \
- --with-lib-path=/usr/lib/binutils/xtensa-elf \
+ --with-lib-path=/usr/lib:/usr/local/lib \
--with-bugurl=https://labs.parabola.nu/ \
--enable-ld=default --enable-gold \
--enable-plugins --enable-threads \
- --with-pic --enable-shared \
+ --with-pic --disable-shared \
--disable-werror --disable-multilib \
- --with-sysroot=/usr/$CHOST/xtensa-elf \
- --program-prefix=xtensa-elf- \
- --target=xtensa-elf
+ --with-sysroot=${_sysroot} \
+ --target=${_target}
+ # check the host environment and makes sure all the necessary tools are available
make configure-host
make tooldir=/usr
}
-
check() {
cd ${srcdir}/binutils-build
@@ -73,7 +79,7 @@ package() {
install -m644 libiberty/pic/libiberty.a ${pkgdir}/usr/lib
# Remove unwanted files
- rm ${pkgdir}/usr/share/man/man1/xtensa-elf-{dlltool,nlmconv,windres,windmc}*
+ rm ${pkgdir}/usr/share/man/man1/${_target}-{dlltool,nlmconv,windres,windmc}*
rm ${pkgdir}/usr/share/info/{configure,standards}.info
# Remove unnecessary files and folders
diff --git a/libre/xtensa-elf-binutils/binutils-2.23.2-texinfo-5.0.patch b/libre/xtensa-unknown-elf-binutils/binutils-2.23.2-texinfo-5.0.patch
index 38dc19fb0..38dc19fb0 100644
--- a/libre/xtensa-elf-binutils/binutils-2.23.2-texinfo-5.0.patch
+++ b/libre/xtensa-unknown-elf-binutils/binutils-2.23.2-texinfo-5.0.patch
diff --git a/libre/xtensa-elf-binutils/binutils.install b/libre/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install
index 9de0533ee..9de0533ee 100644
--- a/libre/xtensa-elf-binutils/binutils.install
+++ b/libre/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install
diff --git a/libre/xtensa-unknown-elf-gcc/PKGBUILD b/libre/xtensa-unknown-elf-gcc/PKGBUILD
new file mode 100644
index 000000000..5472ba164
--- /dev/null
+++ b/libre/xtensa-unknown-elf-gcc/PKGBUILD
@@ -0,0 +1,159 @@
+# $Id: PKGBUILD 186915 2013-05-31 23:25:14Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+# Contributor (Parabola): Márcio Silva <coadde@lavabit.com>
+
+_pkgname=gcc
+_target="xtensa-unknown-elf"
+_sysroot="/usr/${_target}"
+
+pkgname="${_target}-gcc
+pkgver=4.8.1
+pkgrel=1
+#_snapshot=4.8-20130502
+pkgdesc="The GNU Compiler Collection for Xtensa processors"
+arch=('i686' 'x86_64' 'mips64el')
+license=('GPL' 'LGPL' 'FDL' 'custom')
+url="http://gcc.gnu.org"
+makedepends=("${_target}-binutils>=2.23" 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
+checkdepends=('dejagnu' 'inetutils')
+options=('!libtool' '!emptydirs')
+source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2)
+ #ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2
+md5sums=('3b2386c114cd74185aa3754b58a79304')
+
+
+if [ -n "${_snapshot}" ]; then
+ _basedir=gcc-${_snapshot}
+else
+ _basedir=gcc-${pkgver}
+fi
+
+prepare() {
+ cd ${srcdir}/${_basedir}
+
+ # Do not run fixincludes
+ sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
+
+ # Parabola installs x86_64 libraries /lib
+ [[ $CARCH == "x86_64" ]] && sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64
+
+ echo ${pkgver} > gcc/BASE-VER
+
+ # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
+ sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
+
+ mkdir ${srcdir}/gcc-build
+}
+
+build() {
+ cd ${srcdir}/gcc-build
+
+ # using -pipe causes spurious test-suite failures
+ # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565
+ CFLAGS=${CFLAGS/-pipe/}
+ CXXFLAGS=${CXXFLAGS/-pipe/}
+
+ ${srcdir}/${_basedir}/configure --prefix=/usr \
+ --libdir=/usr/lib --libexecdir=/usr/lib \
+ --mandir=/usr/share/man --infodir=/usr/share/info \
+ --with-bugurl=https://labs.parabola.nu/ \
+ --enable-languages=c \
+ --disable-shared --enable-threads=posix \
+ --with-system-zlib --enable-__cxa_atexit \
+ --disable-libunwind-exceptions --enable-clocale=gnu \
+ --disable-libstdcxx-pch \
+ --enable-gnu-unique-object --enable-linker-build-id \
+ --enable-cloog-backend=isl --disable-cloog-version-check \
+ --enable-lto --enable-gold --enable-ld=default \
+ --enable-plugin --with-plugin-ld=ld.gold \
+ --with-linker-hash-style=gnu --disable-install-libiberty \
+ --disable-multilib --disable-libssp --disable-werror \
+ --enable-checking=release \
+ --target=${_target} \
+ --with-sysroot=${_sysroot} \
+ --with-arch=xtensa \
+ --with-newlib
+ make
+
+ # make documentation
+ cd ${_target}/libstdc++-v3
+ make doc-man-doxygen
+}
+
+check() {
+ cd ${srcdir}/gcc-build
+
+ # increase stack size to prevent test failures
+ # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31827
+ ulimit -s 32768
+
+ # do not abort on error as some are "expected"
+ make -k check || true
+ ${srcdir}/${_basedir}/contrib/test_summary
+}
+
+package()
+{
+ pkgdesc="The GNU Compiler Collection"
+ depends=("gcc-libs=$pkgver-$pkgrel" "${_target}-binutils>=2.23" 'libmpc' 'cloog')
+ groups=("${_target}-devel")
+ install=${_target}-gcc.install
+
+ cd ${srcdir}/gcc-build
+
+ make -j1 DESTDIR=${pkgdir} install
+
+ install -d $pkgdir/usr/share/gdb/auto-load/usr/lib
+ mv $pkgdir{,/usr/share/gdb/auto-load}/usr/lib/libstdc++.so.6.0.18-gdb.py
+
+ # unfortunately it is much, much easier to install the lot and clean-up the mess...
+ rm $pkgdir/usr/bin/{{${_target}-,}gfortran,{${_target}-,}gccgo,gnat*}
+ rm $pkgdir/usr/lib/*.so*
+ rm $pkgdir/usr/lib/lib{atomic,gfortran,go{,begin},iberty,objc}.a
+ rm $pkgdir/usr/lib/libgfortran.spec
+ rm -r $pkgdir/usr/lib/gcc/${_target}-/${pkgver}/{ada{include,lib},finclude,include/objc}
+ rm $pkgdir/usr/lib/gcc/${_target}-/${pkgver}/{cc1obj{,plus},f951,gnat1,go1}
+ rm $pkgdir/usr/lib/gcc/${_target}-/${pkgver}/{libcaf_single,libgfortranbegin}.a
+ rm -r $pkgdir/usr/lib/go
+ rm $pkgdir/usr/share/info/{gccgo,gfortran,gnat*,libgomp,libquadmath,libitm}.info
+ rm $pkgdir/usr/share/locale/{de,fr}/LC_MESSAGES/libstdc++.mo
+ rm $pkgdir/usr/share/man/man1/{gccgo,gfortran}.1
+
+ # many packages expect this symlinks
+ ln -s ${_target}-gcc ${pkgdir}/usr/bin/${_target}-cc
+
+ # POSIX conformance launcher scripts for c89 and c99
+ cat > $pkgdir/usr/bin/${_target}-c89 <<"EOF"
+#!/bin/sh
+fl="-std=c89"
+for opt; do
+ case "$opt" in
+ -ansi|-std=c89|-std=iso9899:1990) fl="";;
+ -std=*) echo "`basename $0` called with non ANSI/ISO C option $opt" >&2
+ exit 1;;
+ esac
+done
+exec ${_target}-gcc $fl ${1+"$@"}
+EOF
+
+ cat > $pkgdir/usr/bin/${_target}-c99 <<"EOF"
+#!/bin/sh
+fl="-std=c99"
+for opt; do
+ case "$opt" in
+ -std=c99|-std=iso9899:1999) fl="";;
+ -std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2
+ exit 1;;
+ esac
+done
+exec ${_target}-gcc $fl ${1+"$@"}
+EOF
+
+ chmod 755 $pkgdir/usr/bin/${_target}-c{8,9}9
+
+
+ # Install Runtime Library Exception
+ install -Dm644 ${srcdir}/${_basedir}/COPYING.RUNTIME \
+ ${pkgdir}/usr/share/licenses/${_target}/RUNTIME.LIBRARY.EXCEPTION
+}
diff --git a/libre/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install b/libre/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install
new file mode 100644
index 000000000..3407a5e1f
--- /dev/null
+++ b/libre/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(cpp.info cppinternals.info gcc.info gccinstall.info gccint.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
diff --git a/libre/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD b/libre/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD
new file mode 100644
index 000000000..e27c1ba35
--- /dev/null
+++ b/libre/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD
@@ -0,0 +1,47 @@
+# $Id: PKGBUILD 180857 2013-03-27 11:11:40Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+
+# toolchain build order: linux-libre-api-headers->glibc->binutils->gcc->binutils->glibc
+export ARCH=xtensa
+_target=xtensa-unknown-elf
+_sysroot="/usr/${_target}"
+
+pkgname=${_target}-linux-libre-api-headers
+_basekernel=3.8
+_sublevel=4
+pkgver=${_basekernel}.${_sublevel}
+pkgrel=1
+pkgdesc="Kernel headers sanitized for use in userspace"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/libc"
+license=('GPL2')
+provides=("${_target}-linux-api-headers=${pkgver}")
+conflicts=("${_target}-linux-api-headers")
+replaces=("${_target}-linux-api-headers" )
+source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gnu/linux-libre-${_basekernel}-gnu.tar.xz"
+ "http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-gnu/patch-${_basekernel}-gnu-${pkgver}-gnu.xz")
+md5sums=('84c2a77910932ffc7d958744ac9cf2f5'
+ 'be610dd93dbe033cfe04018b27557c3e')
+
+build() {
+ cd ${srcdir}/linux-${_basekernel}
+
+ if [ "${_basekernel}" != "${pkgver}" ]; then
+ patch -Np1 -i "${srcdir}/patch-${_basekernel}-gnu-${pkgver}-gnu"
+ fi
+
+ make mrproper
+ make headers_check
+}
+
+package() {
+ cd ${srcdir}/linux-${_basekernel}
+ make ARCH=${ARCH} INSTALL_HDR_PATH=${pkgdir}${_sysroot}/usr headers_install
+
+ # use headers from libdrm
+ rm -r ${pkgdir}${_sysroot}/usr/include/drm
+
+ # clean-up unnecessary files generated during install
+ find ${pkgdir} \( -name .install -o -name ..install.cmd \) -delete
+}
diff --git a/pcr/lilo/PKGBUILD b/pcr/lilo/PKGBUILD
new file mode 100644
index 000000000..10d334b05
--- /dev/null
+++ b/pcr/lilo/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Connor Behan <connor.behan@gmail.com>
+# Contributor: Eric Belanger <eric@archlinux.org>
+# Contributor: judd <jvinet@zeroflux.org>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+
+pkgname=lilo
+pkgver=24.0
+pkgrel=1
+pkgdesc="A bootloader for GNU/Linux (Parabola rebranded)"
+arch=('i686' 'x86_64')
+url="https://alioth.debian.org/projects/lilo/"
+license=('BSD')
+backup=('etc/lilo.conf')
+depends=('device-mapper' 'coreutils')
+makedepends=('bin86' 'sharutils')
+optdepends=('perl: to use keytab-lilo')
+install=lilo.install
+options=('!makeflags')
+source=("http://lilo.alioth.debian.org/ftp/sources/${pkgname}-${pkgver}.tar.gz"
+ 'lilo.conf')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export LC_ALL=C
+
+ sed -i -e 's/strip lilo.static/strip lilo.static || true/' src/Makefile
+ make all
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m644 "${srcdir}"/lilo.conf "${pkgdir}"/etc/lilo.conf
+ install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
+ # All binaries in /usr/bin
+ mkdir "${pkgdir}"/usr/bin
+ mv "${pkgdir}"/sbin/lilo "${pkgdir}"/usr/bin/
+ mv "${pkgdir}"/usr/sbin/* "${pkgdir}"/usr/bin/
+ rm -rf "${pkgdir}"/sbin
+ rm -rf "${pkgdir}"/usr/sbin
+
+ # Avoid conflict with syslinux
+ mv "${pkgdir}"/usr/bin/keytab-lilo "${pkgdir}"/usr/bin/keytab-lilo.pl
+}
+md5sums=('03d7090835a5675314082847f1ac7910' 'd06b3c4655577ed01fea79ec5743b4b0')
diff --git a/libre/lilo/lilo.conf b/pcr/lilo/lilo.conf
index 479390df5..479390df5 100644
--- a/libre/lilo/lilo.conf
+++ b/pcr/lilo/lilo.conf
diff --git a/libre/lilo/lilo.install b/pcr/lilo/lilo.install
index 7375fddf8..7375fddf8 100644
--- a/libre/lilo/lilo.install
+++ b/pcr/lilo/lilo.install
diff --git a/pcr/smtube/PKGBUILD b/pcr/smtube/PKGBUILD
new file mode 100644
index 000000000..d54983bb0
--- /dev/null
+++ b/pcr/smtube/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Guest One <theguestone at gmail dot com>
+pkgname=smtube
+pkgver=1.7
+pkgrel=1
+pkgdesc="Search and download videos from YouTube"
+arch=('i686' 'x86_64')
+url="http://smplayer.sourceforge.net"
+license=('GPL')
+depends=('qt4' 'smplayer')
+source=(http://downloads.sourceforge.net/smplayer/$pkgname-$pkgver.tar.bz2)
+
+md5sums=('d9a954e1b337f0c850dcfc6063255056')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make QMAKE=qmake-qt4 LRELEASE=lrelease-qt4 PREFIX="/usr"
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make QMAKE=qmake-qt4 LRELEASE=lrelease-qt4 PREFIX="/usr" DESTDIR="$pkgdir" install
+} \ No newline at end of file