summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre-testing/unar/PKGBUILD96
-rw-r--r--libre-testing/unarchiver/PKGBUILD93
-rw-r--r--libre-testing/xadmaster/PKGBUILD56
-rw-r--r--libre/debhelper/PKGBUILD29
-rw-r--r--libre/dpkg/PKGBUILD49
-rw-r--r--libre/dpkg/dpkg-arch.patch17
-rw-r--r--libre/dpkg/dpkg-rsyncable.patch12
-rw-r--r--libre/gstreamer0.10-bad-libre/PKGBUILD4
8 files changed, 354 insertions, 2 deletions
diff --git a/libre-testing/unar/PKGBUILD b/libre-testing/unar/PKGBUILD
new file mode 100644
index 000000000..4bb523a89
--- /dev/null
+++ b/libre-testing/unar/PKGBUILD
@@ -0,0 +1,96 @@
+# Contributor: Cedric Girard <girard.cedric@gmail.com>
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+pkgname=(
+ 'unar'
+ 'libuniversaldetector'
+ 'libxadmaster'
+ 'libxadmaster-libxad')
+pkgver=0.99
+pkgrel=1
+arch=('x86_64' 'i686')
+url="http://wakaba.c3.cx/s/apps/unarchiver.html"
+license=('LGPL2.1')
+depends=('gnustep-base-libre>=1.23.0' 'openssl' 'bzip2' 'icu' 'gcc-libs' 'zlib')
+conflicts=('gnustep-base>=1.24')
+makedepends=('gcc-objc')
+source=("https://theunarchiver.googlecode.com/files/unar${pkgver}_src.zip")
+
+build() {
+ cd "$srcdir/XADMaster"
+
+ # remove some OS X object files that were accidentally included in the dist
+ # (we've all done it)
+ find "$srcdir" -name '*.o' -delete
+
+ # build everything
+ . /usr/share/GNUstep/Makefiles/GNUstep.sh
+ make -f Makefile.linux
+
+ # make libxad into a lib file
+ cd libxad
+ rm -f libxad.a
+ ar rcs libxad.a all.o clients.o unix/emulation.o unix/init.o
+
+ # compress man pages
+ cd "$srcdir/Extra"
+ gzip -c unar.1 > unar.1.gz
+ gzip -c lsar.1 > lsar.1.gz
+}
+
+package_unar() {
+ pkgdesc="The unar/lsar command line wrappers around libXADMaster"
+
+ cd "$srcdir/XADMaster"
+ install -d "$pkgdir/usr/bin"
+ install -m755 unar lsar "$pkgdir/usr/bin"
+
+ cd "$srcdir/Extra"
+ install -d "$pkgdir/usr/share/man/man1"
+ install unar.1.gz lsar.1.gz "$pkgdir/usr/share/man/man1"
+}
+
+package_libuniversaldetector() {
+ pkgdesc="Some fancy-schmancy Objective-C library that detects things?"
+
+ cd "$srcdir/UniversalDetector"
+ install -d "$pkgdir/usr/lib/"
+ install libUniversalDetector.a "$pkgdir/usr/lib/"
+ install -d "$pkgdir/usr/include/"
+ install UniversalDetector.h "$pkgdir/usr/include/"
+}
+
+package_libxadmaster() {
+ pkgdesc="An Objective-C library built around libxad adding support for other formats"
+ depends+=('libuniversaldetector')
+
+ header_files='
+ CommandLineCommon.h
+ NSStringPrinting.h
+ XADArchive.h
+ XADRegex.h
+ XADSimpleUnarchiver.h
+ XADUnarchiver.h
+ '
+
+ cd "$srcdir/XADMaster"
+ install -d "$pkgdir/usr/lib"
+ install libXADMaster.a "$pkgdir/usr/lib"
+ install -d "$pkgdir/usr/include/XADMaster"
+ install $header_files "$pkgdir/usr/include/XADMaster"
+}
+
+package_libxadmaster-libxad() {
+ pkgdesc="A fork of libxad, the port of the Amiga 'xadmaster.library' to *NIX"
+ depends=('glibc')
+ provides=('libxad')
+ conflicts=('libxad')
+
+ cd "$srcdir/XADMaster/libxad"
+ install -d "$pkgdir/usr/lib"
+ install libxad.a "$pkgdir/usr/lib"
+ install -d "$pkgdir/usr/include/libxad"
+ install include/* "$pkgdir/usr/include/libxad"
+}
+
+md5sums=('2169b920cf62956e495cfd5e0780a41e')
diff --git a/libre-testing/unarchiver/PKGBUILD b/libre-testing/unarchiver/PKGBUILD
new file mode 100644
index 000000000..0df133a6c
--- /dev/null
+++ b/libre-testing/unarchiver/PKGBUILD
@@ -0,0 +1,93 @@
+# Contributor: Cedric Girard <girard.cedric@gmail.com>
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+pkgname=(
+ 'unarchiver'
+ 'unar'
+ 'libuniversaldetector'
+ 'libxadmaster'
+ 'libxadmaster-libxad')
+pkgver=2.7.1
+pkgrel=4
+arch=('x86_64' 'i686')
+url="http://wakaba.c3.cx/s/apps/unarchiver.html"
+license=('LGPL2.1')
+depends=('gnustep-base-libre>=1.23.0' 'openssl' 'bzip2' 'icu' 'gcc-libs' 'zlib')
+conflicts=('gnustep-base>=1.24')
+makedepends=('gcc-objc')
+source=("http://theunarchiver.googlecode.com/files/TheUnarchiver${pkgver}_src.zip")
+
+build() {
+ cd "$srcdir/The Unarchiver/XADMaster"
+
+ # build everything
+ . /usr/share/GNUstep/Makefiles/GNUstep.sh
+ make -f Makefile.linux
+
+ # make libxad into a lib file
+ cd libxad
+ rm -f libxad.a
+ ar rcs libxad.a all.o clients.o unix/emulation.o unix/init.o
+}
+
+package_unarchiver() {
+ pkgdesc="An Objective-C application for uncompressing archive files"
+ arch=('any')
+ depends=(${depends[@]} 'unar>=0.4')
+}
+
+package_unar() {
+ pkgver=0.4
+ pkgdesc="The unar/lsar command line wrappers around libXADMaster"
+
+ cd "$srcdir/The Unarchiver/XADMaster"
+ install -d "$pkgdir/usr/bin"
+ install -m755 unar lsar "$pkgdir/usr/bin"
+}
+
+package_libuniversaldetector() {
+ pkgver=0.4
+ pkgdesc="Some fancy-schmancy Objective-C library that detects things?"
+
+ cd "$srcdir/The Unarchiver/UniversalDetector"
+ install -d "$pkgdir/usr/lib"
+ install libUniversalDetector.a "$pkgdir/usr/lib"
+ install -d "$pkgdir/usr/include"
+ install UniversalDetector.h "$pkgdir/usr/include"
+}
+
+package_libxadmaster() {
+ pkgver=0.4
+ pkgdesc="An Objective-C library built around libxad adding support for other formats"
+ depends+=('libuniversaldetector')
+
+ header_files='
+ CommandLineCommon.h
+ NSStringPrinting.h
+ XADArchive.h
+ XADRegex.h
+ XADUnarchiver.h
+ '
+
+ cd "$srcdir/The Unarchiver/XADMaster"
+ install -d "$pkgdir/usr/lib"
+ install libXADMaster.a "$pkgdir/usr/lib"
+ install -d "$pkgdir/usr/include/XADMaster"
+ install $header_files "$pkgdir/usr/include/XADMaster"
+}
+
+package_libxadmaster-libxad() {
+ pkgver=0.4 # forked from 13.0.2005.06.23 (commit 1.24)
+ pkgdesc="A fork of libxad, the port of the Amiga 'xadmaster.library' to *NIX"
+ depends=('glibc')
+ provides=('libxad')
+ conflicts=('libxad')
+
+ cd "$srcdir/The Unarchiver/XADMaster/libxad"
+ install -d "$pkgdir/usr/lib"
+ install libxad.a "$pkgdir/usr/lib"
+ install -d "$pkgdir/usr/include/libxad"
+ install include/* "$pkgdir/usr/include/libxad"
+}
+
+md5sums=('498ea1c984d5783322e070a71922b422')
diff --git a/libre-testing/xadmaster/PKGBUILD b/libre-testing/xadmaster/PKGBUILD
new file mode 100644
index 000000000..8f358aae6
--- /dev/null
+++ b/libre-testing/xadmaster/PKGBUILD
@@ -0,0 +1,56 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# NOTE: This currently does not build.
+
+pkgname=xadmaster
+pkgver=13.0.2006.06.21
+pkgrel=1
+pkgdesc="The port of the Amiga 'xadmaster.library' to *NIX"
+arch=('i686' 'x86_64')
+url="http://www.dstoecker.eu/xadmaster.html"
+license=('LGPL2.1')
+groups=()
+depends=('glibc')
+makedepends=('cvs')
+provides=('libxad')
+conflicts=('libxad')
+replaces=()
+backup=()
+options=()
+install=
+source=()
+noextract=()
+md5sums=()
+
+_cvsroot=:pserver:anonymous@libxad.cvs.sourceforge.net:/cvsroot/libxad
+_cvsmod=libxad
+
+build() {
+ cd "$srcdir"
+ msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
+
+ if [[ -d "$_cvsmod/CVS" ]]; then
+ cd "$_cvsmod"
+ cvs -z3 update -d
+ else
+ cvs -z3 -d "$_cvsroot" co -D "$pkgver" -f "$_cvsmod"
+ cd "$_cvsmod"
+ fi
+
+ msg "CVS checkout done or server timeout"
+ msg "Starting build..."
+
+ rm -rf "$srcdir/$_cvsmod-build"
+ cp -r "$srcdir/$_cvsmod" "$srcdir/$_cvsmod-build"
+ cd "$srcdir/$_cvsmod-build"
+
+ # BUILD
+ cd portable
+ autoconf # FIXME: On my system this fails, I don't know what to do
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$_cvsmod-build"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/libre/debhelper/PKGBUILD b/libre/debhelper/PKGBUILD
new file mode 100644
index 000000000..60ff8f267
--- /dev/null
+++ b/libre/debhelper/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer (AUR): Antoine Lubineau <antoine@lubignon.info>
+# Contributor (AUR): Andrei "Garoth" Thorp <garoth@gmail.com>
+# Contributor (Parabola): Luke Shumaker <lukeshu@sbcglobal.net>
+
+_debrepo=http://ftp.debian.org/debian/pool/main/ # Debian Sid
+debfile() { echo -n "$_debrepo"; echo -n "$@"|sed -r 's@(.).*@\1/&@'; }
+
+pkgname=debhelper
+pkgver=9.20120322
+pkgrel=1
+pkgdesc="A collection of programs that can be used in a debian/rules file to automate common tasks"
+arch=('any')
+url="http://packages.debian.org/${pkgname}"
+license='GPL3'
+depends=('binutils' 'dpkg' 'file' 'html2text' 'man-db' 'perl')
+makedepends=('po4a')
+source=(`debfile ${pkgname}`/${pkgname}_$pkgver.tar.gz)
+
+build() {
+ cd "$srcdir/$pkgname"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums=('9ea56782e6396a59ec49f45f9c4a603f')
diff --git a/libre/dpkg/PKGBUILD b/libre/dpkg/PKGBUILD
new file mode 100644
index 000000000..175b80610
--- /dev/null
+++ b/libre/dpkg/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer (AUR): Jochen Schalanda <jochen+aur@schalanda.name>
+# Contributor (AUR): Thomas Dziedzic <gostrc@gmail>
+# Contributor (AUR): Chris Giles <Chris.G.27@gmail.com>
+# Contributor (AUR): seblu <seblu+arch@seblu.net>
+# Contributor (AUR): squiddo <squiddo@intheocean.net>
+# Contributor (Parabola): Luke Shumaker <lukeshu@sbcglobal.net>
+
+_debrepo=http://ftp.debian.org/debian/pool/main/ # Debian Sid
+debfile() { echo -n "$_debrepo"; echo -n "$@"|sed -r 's@(.).*@\1/&@'; }
+
+# TODO: split into (dpkg dpkg-devtools dselect dpkg-perl)
+pkgname=dpkg
+pkgver=1.16.2
+pkgrel=1
+pkgdesc="The Debian Package Manager and utilities. Don't use it instead of 'pacman'."
+arch=('i686' 'x86_64')
+url="http://packages.debian.org/${pkgname}"
+license=('GPL2')
+depends=('bzip2' 'perl-timedate')
+makedepends=('gcc' 'make' 'patch')
+optdepends=('fakeroot')
+replaces=(dpkg-ubuntu)
+conflits=(dpkg-ubuntu)
+source=(`debfile ${pkgname}`/${pkgname}_${pkgver}.tar.bz2
+ dpkg-rsyncable.patch dpkg-arch.patch)
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -p1 -i "${srcdir}/dpkg-rsyncable.patch"
+ patch -p1 -i "${srcdir}/dpkg-arch.patch" # Architecture detection
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --without-start-stop-daemon
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ # Variables
+ install -d "${pkgdir}/var/${pkgname}/updates/"
+ touch "${pkgdir}/var/lib/${pkgname}/{status,available}"
+}
+
+md5sums=('629ba7ee2024e6a5c0ff807aa2db02f8'
+ 'bc36609f6191c5b509fae58c21966c95'
+ '24ab12e79989a2e7f31653fb1dd3cdf9')
diff --git a/libre/dpkg/dpkg-arch.patch b/libre/dpkg/dpkg-arch.patch
new file mode 100644
index 000000000..66e7a2ef2
--- /dev/null
+++ b/libre/dpkg/dpkg-arch.patch
@@ -0,0 +1,17 @@
+diff -ru dpkg-1.16.2.orig/scripts/Dpkg/Arch.pm dpkg-1.16.2/scripts/Dpkg/Arch.pm
+--- dpkg-1.16.2.orig/scripts/Dpkg/Arch.pm 2012-03-19 02:40:08.000000000 -0400
++++ dpkg-1.16.2/scripts/Dpkg/Arch.pm 2012-04-02 16:14:55.000000000 -0400
+@@ -49,12 +49,7 @@
+ {
+ return $build_arch if defined $build_arch;
+
+- # Note: We *always* require an installed dpkg when inferring the
+- # build architecture. The bootstrapping case is handled by
+- # dpkg-architecture itself, by avoiding computing the DEB_BUILD_
+- # variables when they are not requested.
+-
+- my $build_arch = `dpkg --print-architecture`;
++ my $build_arch = `uname -m`;
+ syserr("dpkg --print-architecture failed") if $? >> 8;
+
+ chomp $build_arch;
diff --git a/libre/dpkg/dpkg-rsyncable.patch b/libre/dpkg/dpkg-rsyncable.patch
new file mode 100644
index 000000000..e7e58dfdf
--- /dev/null
+++ b/libre/dpkg/dpkg-rsyncable.patch
@@ -0,0 +1,12 @@
+diff -ru dpkg-1.16.2.orig/scripts/Dpkg/Compression.pm dpkg-1.16.2/scripts/Dpkg/Compression.pm
+--- dpkg-1.16.2.orig/scripts/Dpkg/Compression.pm 2012-03-19 02:40:08.000000000 -0400
++++ dpkg-1.16.2/scripts/Dpkg/Compression.pm 2012-04-02 16:26:27.000000000 -0400
+@@ -52,7 +52,7 @@
+ my $COMP = {
+ "gzip" => {
+ "file_ext" => "gz",
+- "comp_prog" => [ "gzip", "--no-name", "--rsyncable" ],
++ "comp_prog" => [ "gzip", "--no-name"],
+ "decomp_prog" => [ "gunzip" ],
+ "default_level" => 9,
+ },
diff --git a/libre/gstreamer0.10-bad-libre/PKGBUILD b/libre/gstreamer0.10-bad-libre/PKGBUILD
index 71e834c3d..c27cf61f9 100644
--- a/libre/gstreamer0.10-bad-libre/PKGBUILD
+++ b/libre/gstreamer0.10-bad-libre/PKGBUILD
@@ -6,7 +6,7 @@
pkgbase=gstreamer0.10-bad-libre
pkgname=('gstreamer0.10-bad-libre' 'gstreamer0.10-bad-libre-plugins')
pkgver=0.10.23
-pkgrel=1
+pkgrel=1.2
arch=('i686' 'x86_64')
license=('LGPL' 'GPL')
makedepends=('pkgconfig' 'gstreamer0.10-base>=0.10.36' 'xvidcore' 'libdca' 'bzip2' 'libdc1394' 'neon' 'musicbrainz' 'faad2' 'libmms' 'libcdaudio' 'libmpcdec' 'mjpegtools' 'libdvdnav' 'libmodplug' 'jasper' 'liblrdf' 'libofa' 'soundtouch' 'libvdpau' 'schroedinger' 'libass' 'libvpx' 'gsm' 'libgme' 'rtmpdump' 'libsndfile' 'librsvg')
@@ -43,7 +43,7 @@ package_gstreamer0.10-bad-libre-plugins() {
depends=("gstreamer0.10-bad-libre=${pkgver}" 'xvidcore' 'libdca' 'bzip2' 'libdc1394' 'neon' 'musicbrainz' 'faad2' 'libmms' 'libcdaudio' 'libmpcdec' 'mjpegtools' 'libdvdnav' 'libmodplug' 'jasper' 'liblrdf' 'libofa' 'libvdpau' 'soundtouch' 'libass' 'schroedinger' 'libvpx' 'gsm' 'rtmpdump' 'libgme' 'libsndfile' 'librsvg')
groups=('gstreamer0.10-plugins')
install=gstreamer0.10-bad-plugins.install
- provides=("gstreamer0.10-bad-plugins-libre=$pkgver")
+ provides=("gstreamer0.10-bad-plugins=$pkgver")
conflicts=('gstreamer0.10-bad-plugins')
replaces=('gstreamer0.10-bad-plugins')