Added new extra vanilla PKGBUILDs

This commit is contained in:
root 2009-10-09 21:23:22 -05:00
parent 50ef08f63c
commit 78023b9bd8
3746 changed files with 159470 additions and 0 deletions

View file

@ -0,0 +1,13 @@
diff -urNad 3ddesktop-0.2.9/event.hpp /tmp/dpep.QstFBy/3ddesktop-0.2.9/event.hpp
--- 3ddesktop-0.2.9/event.hpp 2004-12-06 03:57:32.000000000 +0100
+++ /tmp/dpep.QstFBy/3ddesktop-0.2.9/event.hpp 2005-07-06 21:50:00.000000000 +0200
@@ -74,7 +74,7 @@
list<Event *>::iterator k;
for (k = events.begin(); k != events.end(); ++k) {
Event *e = *k;
- printf(":: Event %d 0x%x\n", e->type, (unsigned int)(e->function));
+ printf(":: Event %d %p\n", e->type, e->function);
}
}

View file

@ -0,0 +1,11 @@
diff -u -r a/config.hpp b/config.hpp
--- a/config.hpp 2005-06-20 13:28:29.000000000 +0200
+++ b/config.hpp 2008-12-17 19:40:05.000000000 +0100
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <cstring>
#include <errno.h>
#include <unistd.h>

25
extra/3ddesktop/PKGBUILD Normal file
View file

@ -0,0 +1,25 @@
# $Id: PKGBUILD 31368 2009-03-26 05:01:13Z eric $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Ben <ben@benmazer.net>
pkgname=3ddesktop
pkgver=0.2.9
pkgrel=3
pkgdesc="a 3d virtual desktop switcher (opengl/mesa)"
arch=('i686' 'x86_64')
url="http://desk3d.sourceforge.net"
license=('GPL')
depends=('freetype2' 'libxi' 'libxmu' 'imlib2' 'glut')
backup=('etc/3ddesktop/3ddesktop.conf')
source=(http://downloads.sourceforge.net/sourceforge/desk3d/$pkgname-$pkgver.tar.gz 3ddesktop-0.2.9-gcc4.patch 3ddesktop-0.2.9-missing-include.patch)
md5sums=('da1e8b0d2c210a441676bbf663e694ee' '9aac53edbd737f827651470da4e5a7b2'\
'ae911ed543329f63fe50cfbb9021deeb')
build() {
cd $srcdir/$pkgname-$pkgver
patch -Np1 -i ../3ddesktop-0.2.9-gcc4.patch || return 1
patch -Np1 -i ../3ddesktop-0.2.9-missing-include.patch || return 1
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc/3ddesktop || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
}

10
extra/a2ps/ChangeLog Normal file
View file

@ -0,0 +1,10 @@
2009-03-22 Eric Belanger <eric@archlinux.org>
* a2ps 4.14-1
* Upstream update
* Added/Removed patches
* Updated license
* Added backup array
* Added gperf makedepends
* Added install scriptlet to handle info pages
* Added ChangeLog

46
extra/a2ps/PKGBUILD Normal file
View file

@ -0,0 +1,46 @@
# $Id: PKGBUILD 31037 2009-03-24 05:49:45Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
pkgname=a2ps
pkgver=4.14
pkgrel=1
pkgdesc="a2ps is an Any to PostScript filter"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/a2ps/"
license=('GPL3')
depends=('ghostscript' 'psutils' 'imagemagick' 'perl')
makedepends=('gperf')
replaces=('a2ps-lprng')
provides=('a2ps-lprng')
backup=('etc/a2ps/a2ps.cfg' 'etc/a2ps/a2ps-site.cfg')
options=('!libtool')
install=a2ps.install
source=(ftp://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz \
a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch a2ps-4.13-manpage-chmod.patch \
a2ps-4.14-check-mempcpy.patch a2ps-4.14-fix-stpcpy-proto.patch)
md5sums=('781ac3d9b213fa3e1ed0d79f986dc8c7' '93011b58e9f20a7fafa31287a51884a4'\
'2e493d0bc00d71eb3e8a9b6febc52b69' '09cc5ed4d3d8ff1b2103e519191e8286'\
'42aa39b74f6da8cf6e94185c4fc3e601' '066f9327fee6b6eca3a57d657d1097d1')
sha1sums=('365abbbe4b7128bf70dad16d06e23c5701874852' '8783952d3410d8d59ed953e1db45e2ef1a0b8f65'\
'94e35a6ad9268161bec22a56d4cfb696d635994a' '2bb3d0a2ef2f3ff9262723e35c742a80ab0235ce'\
'6aed29c1399e79f3914b408059610f9e7c0fc38e' '58fa90134f1027e3f05aeb08212cbcc10f420738')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -p1 < ../a2ps-4.13c-fnmatch-replacement.patch || return 1
patch -p1 < ../a2ps-4.13c-emacs.patch || return 1
patch -p1 < ../a2ps-4.13-manpage-chmod.patch || return 1
patch -p1 < ../a2ps-4.14-check-mempcpy.patch || return 1
patch -p0 < ../a2ps-4.14-fix-stpcpy-proto.patch || return 1
libtoolize --force --copy || return 1
autoreconf -I m4 || return 1
./configure --prefix=/usr --sysconfdir=/etc/a2ps \
--includedir=/usr/include --enable-nls || return 1
export LANG=C
make || return 1
make DESTDIR=${pkgdir} install || return 1
sed -i "s:^countdictstack: \0:" ${pkgdir}/usr/bin/psset || return 1
rm ${pkgdir}/usr/share/info/dir
gzip ${pkgdir}/usr/share/info/*
}

View file

@ -0,0 +1,12 @@
diff -ur a2ps-4.13.orig/man/Makefile.maint a2ps-4.13/man/Makefile.maint
--- a2ps-4.13.orig/man/Makefile.maint 2002-03-04 20:46:26.000000000 +0200
+++ a2ps-4.13/man/Makefile.maint 2007-02-19 21:50:29.000000000 +0200
@@ -20,7 +20,7 @@
--include=$(basename $@).x \
--include=common.x \
$(executable) > $@-t || exit 1; \
- chmod -w $@-t || exit 1; \
+ chmod a-w $@-t || exit 1; \
rm -f $@ || exit 1; \
mv $@-t $@ || exit 1; \
else \

View file

@ -0,0 +1,10 @@
--- a2ps-4.13/contrib/emacs/a2ps-print.el.orig 2005-12-05 08:03:48.000000000 +0100
+++ a2ps-4.13/contrib/emacs/a2ps-print.el 2005-12-06 16:38:14.000000000 +0100
@@ -93,6 +93,7 @@
(concat "--center-title=" name)
(concat "--footer=" (concat name " Emacs buffer"))
(concat "--pretty-print=" filetype)
+ (concat "-d")
;Uncommenting the following gives a print preview (only):
; (concat "--output=/tmp/foo.ps")
)

View file

@ -0,0 +1,43 @@
diff -Naurp a2ps-4.13.orig/lib/fnmatch.c a2ps-4.13/lib/fnmatch.c
--- a2ps-4.13.orig/lib/fnmatch.c 2002-03-04 12:46:25 -0600
+++ a2ps-4.13/lib/fnmatch.c 2006-05-27 11:41:15 -0500
@@ -27,18 +27,6 @@
#include <fnmatch.h>
#include <ctype.h>
-
-/* Comment out all this code if we are using the GNU C Library, and are not
- actually compiling the library itself. This code is part of the GNU C
- Library, but also included in many other GNU distributions. Compiling
- and linking in this code is a waste when using the GNU C library
- (especially if it is a shared library). Rather than having every GNU
- program understand `configure --with-gnu-libc' and omit the object files,
- it is simpler to just do this in the source for each such file. */
-
-#if defined _LIBC || !defined __GNU_LIBRARY__
-
-
# if defined STDC_HEADERS || !defined isascii
# define ISASCII(c) 1
# else
@@ -52,10 +40,13 @@
extern int errno;
# endif
+/* fnmatch replacement taken from the GNU C Library for systems that
+ provide a broken implementation. */
+
/* Match STRING against the filename pattern PATTERN, returning zero if
it matches, nonzero if not. */
int
-fnmatch (const char *pattern, const char *string, int flags)
+rpl_fnmatch (const char *pattern, const char *string, int flags)
{
register const char *p = pattern, *n = string;
register char c;
@@ -233,5 +224,3 @@ fnmatch (const char *pattern, const char
# undef FOLD
}
-
-#endif /* _LIBC or not __GNU_LIBRARY__. */

View file

@ -0,0 +1,12 @@
--- a2ps-4.14-orig/configure.in 2008-04-16 08:36:03.000000000 +0200
+++ a2ps-4.14/configure.in 2008-04-16 08:36:29.000000000 +0200
@@ -137,7 +137,8 @@
ad_REPLACE_FUNC_STRCASECMP
ad_REPLACE_FUNC_STRNCASECMP
ad_REPLACE_FUNC_RENAME
-AC_CHECK_FUNCS(uname strchr strerror strerror_r getcwd bcopy bzero tempnam strsignal psignal setlocale)
+AC_CHECK_FUNCS(uname strchr strerror strerror_r getcwd bcopy bzero \
+ tempnam strsignal psignal setlocale mempcpy)
ad_FUNC_SYSTEMPAPERNAME
ad_FUNC_ATEXIT
ad_FUNC_STRFTIME

View file

@ -0,0 +1,17 @@
=== modified file 'lib/xstrrpl.c'
--- lib/xstrrpl.c 2008-04-14 18:04:50 +0000
+++ lib/xstrrpl.c 2008-04-14 18:20:20 +0000
@@ -20,12 +20,10 @@
#include "system.h"
#include <assert.h>
#include "xstrrpl.h"
-extern char * stpcpy();
-
/* Perform subsitutions in string. Result is malloc'd
E.g., result = xstrrrpl ("1234", subst) gives result = "112333"
where subst = { {"1", "11"}, {"3", "333"}, { "4", ""}}
*/
char *

20
extra/a2ps/a2ps.install Normal file
View file

@ -0,0 +1,20 @@
infodir=/usr/share/info
filelist=(a2ps.info.gz ogonkify.info.gz regex.info.gz)
post_install() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
install-info $infodir/$file $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 $infodir/dir 2> /dev/null
done
}

26
extra/a52dec/PKGBUILD Normal file
View file

@ -0,0 +1,26 @@
# $Id: PKGBUILD 5601 2008-07-18 22:06:17Z jgc $
# Maintainer: Thomas Baechler <thomas@archlinux.org>
# contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
pkgname=a52dec
pkgver=0.7.4
pkgrel=4
pkgdesc="liba52 is a free library for decoding ATSC A/52 streams."
arch=('i686' 'x86_64')
license=('GPL2')
depends=('glibc')
options=(!libtool)
source=(http://liba52.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz
a52dec-0.7.4-build.patch)
url="http://liba52.sourceforge.net/"
md5sums=('caa9f5bc44232dc8aeea773fea56be80' 'fa16f224a7dceb7613824380abef0052')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np1 -i ${srcdir}/a52dec-0.7.4-build.patch || return 1
./bootstrap || return 1
./configure --prefix=/usr --enable-shared || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -m644 liba52/a52_internal.h $startdir/pkg/usr/include/a52dec/ || return 1
}

View file

@ -0,0 +1,27 @@
diff -Naur a52dec-0.7.4.orig/liba52/Makefile.am a52dec-0.7.4/liba52/Makefile.am
--- a52dec-0.7.4.orig/liba52/Makefile.am 2002-01-27 20:36:48.000000000 -0800
+++ a52dec-0.7.4/liba52/Makefile.am 2004-11-05 01:10:21.317401872 -0800
@@ -1,4 +1,3 @@
-CFLAGS = @CFLAGS@ @LIBA52_CFLAGS@
lib_LTLIBRARIES = liba52.la
diff -Naur a52dec-0.7.4.orig/liba52/configure.incl a52dec-0.7.4/liba52/configure.incl
--- a52dec-0.7.4.orig/liba52/configure.incl 2002-01-27 20:36:48.000000000 -0800
+++ a52dec-0.7.4/liba52/configure.incl 2004-11-05 01:11:38.172672216 -0800
@@ -2,7 +2,6 @@
AC_SUBST([LIBA52_LIBS])
dnl avoid -fPIC when possible
-LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic"
AC_ARG_ENABLE([double],
[ --enable-double use double-precision samples])
diff -Naur a52dec-0.7.4.orig/src/Makefile.am a52dec-0.7.4/src/Makefile.am
--- a52dec-0.7.4.orig/src/Makefile.am 2002-06-22 18:51:57.000000000 -0700
+++ a52dec-0.7.4/src/Makefile.am 2004-11-05 01:10:21.320401375 -0800
@@ -1,4 +1,3 @@
-CFLAGS = @A52DEC_CFLAGS@
bin_PROGRAMS = a52dec extract_a52
a52dec_SOURCES = a52dec.c getopt.c gettimeofday.c

25
extra/aalib/PKGBUILD Normal file
View file

@ -0,0 +1,25 @@
# $Id: PKGBUILD 9082 2008-08-17 03:29:36Z allan $
# Maintainer: arjan <arjan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
#
pkgname=aalib
pkgver=1.4rc5
pkgrel=6
pkgdesc="AAlib is a portable ASCII art GFX library"
arch=('i686' 'x86_64')
url="http://aa-project.sourceforge.net/aalib/"
license=('LGPL')
depends=('glibc' 'ncurses' 'gpm>=1.20.4' 'libx11')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/aa-project/$pkgname-$pkgver.tar.gz
aclocal-fixes.patch)
md5sums=('9801095c42bba12edebd1902bcf0a990' '863a96a6689aa7ee073ca448bc2f133d')
build() {
cd $startdir/src/$pkgname-1.4.0
patch -Np0 -i ${startdir}/src/aclocal-fixes.patch || return 1
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
make || return 1
make DESTDIR=$startdir/pkg install
rm ${pkgdir}/usr/share/info/dir
}

View file

@ -0,0 +1,11 @@
--- aalib.m4.orig 2006-03-05 13:58:21.000000000 +0000
+++ aalib.m4 2006-03-05 13:58:32.000000000 +0000
@@ -9,7 +9,7 @@
dnl AM_PATH_AALIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for AALIB, and define AALIB_CFLAGS and AALIB_LIBS
dnl
-AC_DEFUN(AM_PATH_AALIB,
+AC_DEFUN([AM_PATH_AALIB],
[dnl
dnl Get the cflags and libraries from the aalib-config script
dnl

30
extra/abcde/PKGBUILD Normal file
View file

@ -0,0 +1,30 @@
# $Id: PKGBUILD 47848 2009-07-28 09:26:47Z giovanni $
# Contributor: Jochem Kossen <j.kossen@home.nl>
# Maintainer: Kevin Piche <kevin@archlinux.org>
pkgname=abcde
pkgver=2.3.99.7
pkgrel=2
pkgdesc="A frontend command-line utility that grabs tracks off a CD, encodes them to ogg or mp3 format, and tags them, all in one go."
depends=('bash' 'cd-discid' 'cdparanoia' 'lame' 'vorbis-tools' 'wget' 'id3' 'id3v2')
backup=(etc/$pkgname.conf)
arch=('i686' 'x86_64')
url="http://code.google.com/p/abcde"
license=('GPL')
source=()
md5sums=()
makedepends=('subversion')
build() {
# Retrieve source from subversion.
svn export http://$pkgname.googlecode.com/svn/tags/$pkgver $pkgname
cd $startdir/src/$pkgname
sed -e "s:normalize-audio:normalize:g" -i $pkgname
sed -e "s:/usr/bin/less:/bin/less:g" -i $pkgname
install -Dm 0755 $pkgname $startdir/pkg/usr/bin/$pkgname
install -Dm 0755 cddb-tool $startdir/pkg/usr/bin/cddb-tool
install -Dm 0644 cddb-tool.1 $startdir/pkg/usr/share/man/man1/cddb-tool.1
install -Dm 0644 $pkgname.1 $startdir/pkg/usr/share/man/man1/$pkgname.1
install -Dm 0644 $pkgname.conf $startdir/pkg/etc/$pkgname.conf
}

View file

@ -0,0 +1,11 @@
--- a/tools/abicommand/xp/AbiCommand.cpp 2007-10-11 13:05:55.000000000 -0700
+++ b/tools/abicommand/xp/AbiCommand.cpp 2009-05-29 12:36:40.000000000 -0700
@@ -551,7 +551,7 @@
UT_UTF8String *pCom1 =
const_cast < UT_UTF8String * >(static_cast < const UT_UTF8String * >(pToks->getNthItem (1)));
printf(" Filename %s \n",pCom1->utf8_str());
- char *suffix = rindex (pCom1->utf8_str (), '.');
+ const char *suffix = rindex (pCom1->utf8_str (), '.');
if (suffix != NULL)
{

View file

@ -0,0 +1,32 @@
# $Id: PKGBUILD 44524 2009-07-02 15:54:40Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
pkgname=abiword-plugins
pkgver=2.6.8
pkgrel=7
pkgdesc="Various plugins for Abiword"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.abisource.com"
options=('!libtool' '!makeflags')
makedepends=('libxml2')
depends=("abiword>=${pkgver}" 'aiksaurus>=1.2.1' 'gtkmathview>=0.7.7'
'link-grammar>=4.2.4' 'libwmf>=0.2.8.4' 'librsvg>=2.18.1'
'libwpd>=0.8.7' 'psiconv>=0.9.8' 'boost')
source=(http://www.abisource.com/downloads/abiword/${pkgver}/source/abiword-plugins-${pkgver}.tar.gz
http://www.abisource.com/downloads/abiword/${pkgver}/source/abiword-${pkgver}.tar.gz
AbiCommand.patch)
md5sums=('421c49723e209c971ddb0798c1b313a9'
'fab04d8ef999c303f720197adf261310'
'7bd4ad7802216d43422063b86ee1bc9a')
build() {
cd "${srcdir}/abiword-plugins-${pkgver}"
patch -Np1 -i ${srcdir}/AbiCommand.patch || return 1
./configure --prefix=/usr \
--without-gda \
--disable-gda \
--with-abiword="${srcdir}/abiword-${pkgver}/"
make || return 1
make DESTDIR="${pkgdir}/" install
}

27
extra/abiword/PKGBUILD Normal file
View file

@ -0,0 +1,27 @@
# $Id: PKGBUILD 40670 2009-05-29 16:09:22Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
pkgname=abiword
pkgver=2.6.8
pkgrel=2
pkgdesc="A fully-featured word processor"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.abisource.com"
depends=('fribidi>=0.10.9' 'enchant>=1.3.0' 'libgnomeprintui'
'wv>=1.2.4' 'libgnomeui>=2.22.01' 'libgsf-gnome>=1.14.8')
makedepends=('pkgconfig')
options=('!makeflags' 'force')
source=(http://www.abisource.com/downloads/abiword/${pkgver}/source/${pkgname}-${pkgver}.tar.gz)
md5sums=('fab04d8ef999c303f720197adf261310')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--with-libxml2 \
--disable-gucharmap
make || return 1
make DESTDIR=${startdir}/pkg install
rm -rf ${pkgdir}/usr/lib
mv ${pkgdir}/usr/share/icons ${pkgdir}/usr/share/pixmaps
}

24
extra/abook/PKGBUILD Normal file
View file

@ -0,0 +1,24 @@
# $Id: PKGBUILD 42696 2009-06-18 16:23:53Z aaron $
# Contributor: damir <damir@archlinux.org>
# Maintainer: Thayer Williams <thayer@archlinux.org>
pkgname=abook
pkgver=0.6.0pre2
pkgrel=2
pkgdesc="A text-based addressbook designed for use with mutt"
arch=('i686' 'x86_64')
url="http://abook.sourceforge.net"
license=('GPL2')
depends=('readline')
source=(http://abook.sourceforge.net/devel/abook-$pkgver.tar.gz)
md5sums=('1e4a7210b3507db7b3d47ee7a2457934')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr || return 1
make || return 1
make prefix=${pkgdir}/usr install || return 1
install -d ${pkgdir}/usr/share || return 1
mv ${pkgdir}/usr/man ${pkgdir}/usr/share || return 1
}

64
extra/abs/ChangeLog Normal file
View file

@ -0,0 +1,64 @@
2009-07-31 Allan McRae <allan@archlinux.org>
* 2.3.3-1
Upstream update
- add arch=('any') support
2009-03-31 Allan McRae <allan@archlinux.org>
* 2.3.2-2
Improve install script handling of non-existent directories in ABS tree
2009-03-31 Allan McRae <allan@archlinux.org>
* 2.3.2-1
Fix potential permission issues in the ABS tree
2009-03-13 Allan McRae <allan@archlinux.org>
* 2.3.1-1
Upstream update
- various prototype updates
Removed install file
2008-10-28 Allan McRae <allan@archlinux.org>
* 2.3-1
Upstream update
- add ability to download files using tarballs on pacman mirror
2008-08-10 Allan McRae <allan@archlinux.org>
* 2.2-1
Upstream update
- adds ability to select which repos/packages
sync on commandline
- additional PKGBUILD and install script prototypes
2008-04-19 Travis Willard <travis@archlinux.org>
* 2.1-1
Upstream update - re-adds support for community
2008-04-19 Travis Willard <travis@archlinux.org>
* 2.0-4
Added install warning about /var/abs
2008-04-15 Travis Willard <travis@archlinux.org>
* 2.0-3
Added install message
Moved abs.conf to /etc instead of /etc/abs
2008-04-13 Travis Willard <travis@archlinux.org>
* 2.0-2
Moved rsyncd.conf.abs to /usr/share/abs
Made rsync server configurable
2008-04-10 Travis Willard <travis@archlinux.org>
* 2.0-1
Added ChangeLog
New rsync-based release

31
extra/abs/PKGBUILD Normal file
View file

@ -0,0 +1,31 @@
# $Id: PKGBUILD 48089 2009-07-30 16:57:14Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
pkgname=abs
pkgver=2.3.3
pkgrel=1
pkgdesc="Utilities to download and work with the Arch Build System (ABS)"
arch=('i686' 'x86_64')
url="http://projects.archlinux.org/git/?p=abs.git"
license=('GPL')
depends=('bash' 'rsync')
backup=(etc/abs.conf)
install=abs.install
source=(ftp://ftp.archlinux.org/other/abs/${pkgname}-${pkgver}.tar.gz)
md5sums=('a65e55d96118532e1138ff107ac7f489')
build() {
cd ${srcdir}/${pkgname}
make CONFDIR=/etc/ || return 1
make CONFDIR=/etc/ DESTDIR=${pkgdir} install || return 1
# Add readme file, and make base /var/abs path
install -dm0755 ${pkgdir}/var/abs/local/
install -Dm0644 ${srcdir}/abs/README ${pkgdir}/var/abs/README
# change ABS tags for x86_64 to correct values
if [ "$CARCH" = "x86_64" ]; then
sed -i 's|"i686"|"x86_64"|g' ${pkgdir}/etc/abs.conf
fi
}

12
extra/abs/abs.install Normal file
View file

@ -0,0 +1,12 @@
pre_upgrade() {
if [ "$(vercmp $2 2.3.2-1)" -lt 0 ]; then
echo "==> Fixing potential ABS tree permission issues (this may take a while...)"
for dir in core extra community testing; do
if [ -d /var/abs/$dir ]; then
find /var/abs/$dir -type d -exec chown root:root {} \;
find /var/abs/$dir -type d -exec chmod 755 {} \;
fi
done
fi
}

53
extra/abuse/PKGBUILD Normal file
View file

@ -0,0 +1,53 @@
# $Id: PKGBUILD 8619 2008-08-14 04:02:03Z kevin $
# Committer: jlvsimoes <jlvsimoes@oninet.pt>
# Maintainer: kevin <kevin@archlinux.org>
pkgname=abuse
pkgver=0.7.1
pkgrel=1
pkgdesc="A side-scroller action game that pits you against ruthless alien killers"
url="http://abuse.zoy.org/"
depends=('gcc-libs' 'libgl' 'sdl')
# abuse-data below is the original commercial levels and sound effects.
# abuse-frabs contains community created levels.
# abuse-lib is the original demo levels.
# abuse-sfx is the original sound effects, included in abuse-data.
source=(http://abuse.zoy.org/raw/Downloads/abuse-${pkgver}.tar.gz
http://abuse.zoy.org/raw/Downloads/abuse-data-2.00.tar.gz
http://abuse.zoy.org/raw/Downloads/abuse-frabs-2.11.tar.gz
abuse.patch)
noextract=(abuse-data-2.00.tar.gz)
license=('GPL' 'custom')
arch=('i686' 'x86_64')
install=abuse.install
md5sums=('439b607f291560a8f9698a2f09cffa63' '2b857668849b2dc7cd29cdd84a33c19e'
'0686f951289fe514846903bab36a2079' '86b5256f066e994db9d57dbe1ec2a58e')
build() {
cd ${srcdir}/abuse-${pkgver}
patch -p1 -i ${srcdir}/abuse.patch
./configure --prefix=/usr --datadir=/usr/share/abuse/orig --with-x
make || return 1
make DESTDIR=${pkgdir} install
mkdir -p ${pkgdir}/usr/share/abuse/{frabs,orig}
mkdir -p ${pkgdir}/usr/share/licenses/abuse
# original code license. sdlport is gpl.
sed -n '1,/^$/ p' src/view.cpp > \
${pkgdir}/usr/share/licenses/abuse/orig.code.license
# original game data.
cd ${pkgdir}/usr/share/abuse/orig
tar -xzf ${srcdir}/abuse-data-2.00.tar.gz
mv README.datafiles ${pkgdir}/usr/share/licenses/abuse/orig.data.license
# frabs data, link to sound in orignal game data.
cd ${pkgdir}/usr/share/abuse/frabs
mv ${srcdir}/abuse-frabs-2.11/* .
rm -f abuse.exe setup.exe art/dos4gw.exe art/spaint.exe
ln -s ../orig/sfx sfx
cp docs/index.html ${pkgdir}/usr/share/licenses/abuse/frabs.license
chown -R root:root ${pkgdir}/usr/share
}

13
extra/abuse/abuse.install Normal file
View file

@ -0,0 +1,13 @@
# arg 1: the new package version
post_install() {
# echo "If you get a BOSS_ANT error trying to run abuse, copy /usr/share/games/abuse/gamma.lsp to ~/.abuse"
echo "Abuse uses the original game levels by default. To use the frabs levels"
echo "use '-datadir' or set 'datadir' in the abuserc to /usr/share/abuse/frabs"
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
post_install
}

36
extra/abuse/abuse.patch Normal file
View file

@ -0,0 +1,36 @@
diff -Naur abuse-0.7.1.orig/Makefile.in abuse-0.7.1/Makefile.in
--- abuse-0.7.1.orig/Makefile.in 2008-03-02 15:25:05.000000000 -0500
+++ abuse-0.7.1/Makefile.in 2008-08-11 23:34:21.000000000 -0400
@@ -201,7 +201,7 @@
top_srcdir = @top_srcdir@
SUBDIRS = src
man_MANS = abuse.6
-datafiledir = $(datadir)/games/abuse
+datafiledir = $(datadir)
datafile_DATA = abuse.bmp abuse.lsp abuse.png
EXTRA_DIST = bootstrap abuse.6 abuse.bmp abuse.lsp abuse.png
all: config.h
diff -Naur abuse-0.7.1.orig/configure abuse-0.7.1/configure
--- abuse-0.7.1.orig/configure 2008-03-02 15:25:03.000000000 -0500
+++ abuse-0.7.1/configure 2008-08-11 23:33:49.000000000 -0400
@@ -21887,7 +21887,7 @@
X_LIBS=-L$x_libraries
-EXPDATADIR="-DEXPDATADIR=\\\"$datadir/games/abuse\\\""
+EXPDATADIR="-DEXPDATADIR=\\\"$datadir\\\""
{ echo "$as_me:$LINENO: checking for XShmAttach in -lXext" >&5
diff -Naur abuse-0.7.1.orig/src/sdlport/setup.cpp abuse-0.7.1/src/sdlport/setup.cpp
--- abuse-0.7.1.orig/src/sdlport/setup.cpp 2008-03-02 14:42:24.000000000 -0500
+++ abuse-0.7.1/src/sdlport/setup.cpp 2008-08-11 23:33:49.000000000 -0400
@@ -89,7 +89,7 @@
if( (fd = fopen( rcfile, "w" )) != NULL )
{
fputs( "; Abuse-SDL Configuration file\n\n", fd );
- fputs( "; Location of the datafiles\ndatadir=/var/games/abuse\n\n", fd );
+ fputs( "; Location of the datafiles\ndatadir=/usr/share/abuse/orig\n\n", fd );
fputs( "; Startup fullscreen\nfullscreen=0\n\n", fd );
fputs( "; Use DoubleBuffering\ndoublebuf=0\n\n", fd );
fputs( "; Use mono audio only\nmono=0\n\n", fd );

30
extra/acct/PKGBUILD Normal file
View file

@ -0,0 +1,30 @@
# $Id: PKGBUILD 31369 2009-03-26 05:11:36Z eric $
# Maintainer: damir <damir@archlinux.org>
# Contributor: phrakture
pkgname=acct
pkgver=6.3.2
pkgrel=2
pkgdesc="A set of utilities which reports and summarizes data about user connect times and process execution statistics"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/acct/"
license=('GPL')
depends=('glibc')
install=acct.install
source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('da0055b254f7da8b8920db83ef1ebba1')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info || return 1
make || return 1
make prefix=$pkgdir/usr mandir=$pkgdir/usr/share/man infodir=$pkgdir/usr/share/info install || return 1
rm $pkgdir/usr/share/info/dir
gzip $pkgdir/usr/share/info/*
# sysvinit already provides "last":
rm $pkgdir/usr/{bin/last,share/man/man1/last.1}
}

20
extra/acct/acct.install Normal file
View file

@ -0,0 +1,20 @@
infodir=/usr/share/info
filelist=(accounting.info.gz)
post_install() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
install-info $infodir/$file $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 $infodir/dir 2> /dev/null
done
}

36
extra/acidrip/PKGBUILD Normal file
View file

@ -0,0 +1,36 @@
# $Id: PKGBUILD 26878 2009-02-14 06:18:41Z eric $
# Maintainer: Aaron Griffin <aaron@archlinux.org>
pkgname=acidrip
pkgver=0.14
pkgrel=6
pkgdesc="A Gtk2::Perl application for ripping and encoding DVD's"
license=('GPL')
arch=(i686 x86_64)
url="http://untrepid.com/acidrip/"
depends=('mplayer' 'lsdvd' 'lame' 'libdvdcss' 'gtk2-perl' 'perl>=5.10.0')
source=(ftp://ftp.archlinux.org/other/acidrip/$pkgname-$pkgver.tar.gz
http://untrepid.com/acidrip/acidrip-icon4bit.png
acidrip.desktop crop-fixes.patch)
md5sums=('c1c27bbf658e5c30f43e067a8ae283de' '7498602e2a3838cf35b94af85d9954d3'\
'f6896612df224a325d66c5f8fa8553e7' '1a8470702e2e0eda8ecbc473141aa08f')
options=(!emptydirs)
build()
{
cd $startdir/src/$pkgname-$pkgver
patch -up1 < ../crop-fixes.patch || return 1
# install module in vendor directories.
perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=${startdir}/pkg || return 1
install -D -m644 ${startdir}/src/acidrip-icon4bit.png \
${startdir}/pkg/usr/share/pixmaps/acidrip.png
install -D -m644 ${startdir}/src/acidrip.desktop \
${startdir}/pkg/usr/share/applications/acidrip.desktop
# remove perllocal.pod and .packlist
find ${startdir}/pkg -name perllocal.pod -delete
find ${startdir}/pkg -name .packlist -delete
}

View file

@ -0,0 +1,8 @@
[Desktop Entry]
Name=AcidRip DVD Ripper
GenericName=DVD Ripper
Comment=DVD Ripper
Exec=acidrip
Icon=acidrip.png
Type=Application
Categories=AudioVideo;

View file

@ -0,0 +1,21 @@
diff -ur acidrip-0.14/AcidRip/acidrip.pm acidrip-0.14-cropfixes/AcidRip/acidrip.pm
--- acidrip-0.14/AcidRip/acidrip.pm 2004-07-25 09:03:09.000000000 -0500
+++ acidrip-0.14-cropfixes/AcidRip/acidrip.pm 2007-02-12 15:05:36.000000000 -0600
@@ -680,7 +680,7 @@
message( "Running " . get_command("cropdetect") );
open( CROP, get_command("cropdetect") . " 2>&1 |" );
while (<CROP>) {
- if ( $_ =~ /crop area.*\s(crop=\d*:\d*:\d*:\d*)/ ) { $crop{$1}++ }
+ if ( $_ =~ /[cC]rop area.*\s(crop=\d*:\d*:\d*:\d*)/ ) { $crop{$1}++ }
$crop_output .= $_;
gui_check($_);
}
@@ -863,7 +863,7 @@
if ( $::settings->{'mencoder_pid'} = open( MENCODER, "$menc 2>&1 |" ) ) {
$/ = "\r";
while (<MENCODER>) {
- if (/^Pos:\s*(\d+).\ds\s+(\d+)f\s+\(\s*(\d+)%\)\s+(\d+fps)\sTrem:\s+(\d+min)\s+(\d+mb).+\[([\d:]+)\]/) {
+ if (/^Pos:\s*(\d+)\.\ds\s+(\d+)f\s+\(\s*(\d+)%\)\s+([\d.]+fps)\sTrem:\s+(\d+min)\s+(\d+mb).+\[([\d:]+)\]/) {
if ( $1 ne $sec ) { $sec = $1; $::widgets->{'menc_seconds'}->set_text( hhmmss($1) ) }
if ( $4 ne $fps ) { $fps = $4; $::widgets->{'menc_fps'}->set_text($4) }
if ( $6 ne $size ) { $size = $6; $::widgets->{'menc_filesize'}->set_text($6) }

22
extra/acpi/PKGBUILD Normal file
View file

@ -0,0 +1,22 @@
# $Id: PKGBUILD 32278 2009-03-30 00:09:20Z thayer $
# Contributor: Judd Vinet <jvinet@zeroflux.org>
# Maintainer: Thayer Williams <thayer@archlinux.org>
pkgname=acpi
pkgver=1.4
pkgrel=2
pkgdesc="Linux ACPI client providing battery, AC power, and thermal readings"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/acpiclient"
depends=('glibc')
source=(http://downloads.sourceforge.net/acpiclient/$pkgname-$pkgver.tar.gz)
license=('GPL2')
md5sums=('ea2a285957a36bad2ec099413bd330a5')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
}

39
extra/acpid/PKGBUILD Normal file
View file

@ -0,0 +1,39 @@
# $Id: PKGBUILD 36515 2009-04-24 04:32:29Z thayer $
# Contributor: Manolis Tzanidakis
# Contributor: Judd Vinet <jvinet@zeroflux.org>
# Maintainer: Thayer Williams <thayer@archlinux.org>
pkgname=acpid
pkgver=1.0.10
pkgrel=1
pkgdesc="A daemon for delivering ACPI power management events"
arch=('i686' 'x86_64')
url="http://acpid.sourceforge.net"
license=('GPL')
depends=(glibc)
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
acpid
anything
handler.sh)
backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything')
md5sums=('61156ef32015c56dc0f2e3317f4ae09e'
'15903690f1bae4b3b0625b369de65521'
'2d37b98d6e74bab815604b8b48c6cfd4'
'0e8dd13793b1baa79a745f4034888367')
build() {
cd $srcdir/$pkgname-$pkgver
/usr/bin/make || return 1
/bin/install -d -m0755 $pkgdir/usr/bin || return 1
/usr/bin/make INSTPREFIX=$pkgdir \
MAN8DIR=$pkgdir/usr/share/man/man8 install || return 1
# install our supplementary scripts
/bin/install -D -m0755 $srcdir/acpid $pkgdir/etc/rc.d/acpid || return 1
/bin/install -D -m0644 $srcdir/anything $pkgdir/etc/acpi/events/anything || return 1
/bin/install -D -m0755 $srcdir/handler.sh $pkgdir/etc/acpi/handler.sh || return 1
# set world readable bit on the acpid binary
/bin/chmod 755 $pkgdir/usr/sbin/acpid || return 1
}

35
extra/acpid/acpid Normal file
View file

@ -0,0 +1,35 @@
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
PID=`pidof -o %PPID /usr/sbin/acpid`
case "$1" in
start)
stat_busy "Starting acpid"
[ -z "$PID" ] && /usr/sbin/acpid
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon acpid
stat_done
fi
;;
stop)
stat_busy "Stopping acpid"
[ ! -z "$PID" ] && kill $PID &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon acpid
stat_done
fi
;;
restart)
$0 stop
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
exit 0

3
extra/acpid/anything Normal file
View file

@ -0,0 +1,3 @@
# Pass all events to our one handler script
event=.*
action=/etc/acpi/handler.sh %e

65
extra/acpid/handler.sh Normal file
View file

@ -0,0 +1,65 @@
#!/bin/sh
# Default acpi script that takes an entry for all actions
# NOTE: This is a 2.6-centric script. If you use 2.4.x, you'll have to
# modify it to not use /sys
minspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq`
maxspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`
setspeed="/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed"
set $*
case "$1" in
button/power)
#echo "PowerButton pressed!">/dev/tty5
case "$2" in
PWRF) logger "PowerButton pressed: $2" ;;
*) logger "ACPI action undefined: $2" ;;
esac
;;
button/sleep)
case "$2" in
SLPB) echo -n mem >/sys/power/state ;;
*) logger "ACPI action undefined: $2" ;;
esac
;;
ac_adapter)
case "$2" in
AC)
case "$4" in
00000000)
echo -n $minspeed >$setspeed
#/etc/laptop-mode/laptop-mode start
;;
00000001)
echo -n $maxspeed >$setspeed
#/etc/laptop-mode/laptop-mode stop
;;
esac
;;
*) logger "ACPI action undefined: $2" ;;
esac
;;
battery)
case "$2" in
BAT0)
case "$4" in
00000000) #echo "offline" >/dev/tty5
;;
00000001) #echo "online" >/dev/tty5
;;
esac
;;
CPU0)
;;
*) logger "ACPI action undefined: $2" ;;
esac
;;
button/lid)
#echo "LID switched!">/dev/tty5
;;
*)
logger "ACPI group/action undefined: $1 / $2"
;;
esac

24
extra/afterstep/PKGBUILD Normal file
View file

@ -0,0 +1,24 @@
# $Id: PKGBUILD 44299 2009-07-01 13:46:43Z allan $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: DaNiMoTh <jjdanimoth@gmail.com>
pkgname=afterstep
pkgver=2.2.8
pkgrel=4
pkgdesc="A Window Manager based on NextStep Interface"
arch=(i686 x86_64)
url="http://www.afterstep.org"
license=('GPL')
depends=('gtk2' 'libpng' 'libtiff>=3.8.2-5' 'readline' 'freetype2' 'libsm' \
'librsvg')
makedepends=('pkgconfig' 'libxt')
options=('!emptydirs')
source=(http://downloads.sourceforge.net/sourceforge/afterstep/AfterStep-${pkgver}.tar.bz2)
build() {
cd $startdir/src/AfterStep-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man
make || return 1
make DESTDIR=$startdir/pkg install
install -D -m644 AfterStep.desktop $startdir/pkg/etc/X11/sessions/AfterStep.desktop
}
md5sums=('8734622c9cb549f5baa8b3262312db70')

31
extra/agg/PKGBUILD Normal file
View file

@ -0,0 +1,31 @@
# $Id: PKGBUILD 50029 2009-08-18 14:59:15Z jgc $
# Maintainer:
pkgname=agg
pkgver=2.5
pkgrel=3
pkgdesc="A High Quality Rendering Engine for C++"
arch=('i686' 'x86_64')
url="http://www.antigrain.com/"
license=('GPL')
depends=('gcc-libs>=4.4.1' 'sdl>=1.2.13' 'freetype2>=2.3.9')
makedepends=('automake')
provides=('antigrain')
replaces=('antigrain')
options=('!libtool' '!makeflags')
source=(http://www.antigrain.com/${pkgname}-${pkgver}.tar.gz
agg-2.4-depends.patch
agg-2.5-pkgconfig.patch)
md5sums=('0229a488bc47be10a2fee6cf0b2febd6'
'22f8e48c137d25038181c86d5e40b110'
'43a19a7b1564c591e56c8d09a0fd8da5')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/agg-2.4-depends.patch" || return 1
patch -Np1 -i "${srcdir}/agg-2.5-pkgconfig.patch" || return 1
sh ./autogen.sh || return 1
./configure --prefix=/usr --disable-static || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}

View file

@ -0,0 +1,48 @@
--- agg-2.4.orig/font_freetype/Makefile.am 2005-10-18 11:45:40.000000000 +0100
+++ agg-2.4/font_freetype/Makefile.am 2006-07-10 15:11:55.000000000 +0100
@@ -4,8 +4,9 @@
agginclude_HEADERS = agg_font_freetype.h
lib_LTLIBRARIES = libaggfontfreetype.la
-libaggfontfreetype_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ @FREETYPE_LIBS@
+libaggfontfreetype_la_LDFLAGS = -version-info @AGG_LIB_VERSION@
libaggfontfreetype_la_SOURCES = agg_font_freetype.cpp
libaggfontfreetype_la_CXXFLAGS = -I$(top_srcdir)/include @FREETYPE_CFLAGS@
+libaggfontfreetype_la_LIBADD = ../src/libagg.la @FREETYPE_LIBS@
endif
--- agg-2.4.orig/src/platform/sdl/Makefile.am 2005-10-17 23:49:35.000000000 +0100
+++ agg-2.4/src/platform/sdl/Makefile.am 2006-07-10 15:11:55.000000000 +0100
@@ -5,6 +5,6 @@
libaggplatformsdl_la_LDFLAGS = -version-info @AGG_LIB_VERSION@
libaggplatformsdl_la_SOURCES = agg_platform_support.cpp
libaggplatformsdl_la_CXXFLAGS = -I$(top_srcdir)/include @SDL_CFLAGS@
-libaggplatformsdl_la_LIBADD = @SDL_LIBS@
+libaggplatformsdl_la_LIBADD = ../../libagg.la @SDL_LIBS@
endif
--- agg-2.5.orig/configure.in 2006-10-09 05:06:36.000000000 +0100
+++ agg-2.5/configure.in 2007-01-07 14:07:39.000000000 +0000
@@ -122,7 +122,8 @@
fi
AM_CONDITIONAL(ENABLE_X11,[test x$no_x = x -a xno != x$enable_platform -a x$win32_host != xyes])
AC_SUBST(x_includes)
-AC_SUBST(x_libraries)
+test -n "$x_libraries" && X_LDFLAGS="-L$x_libraries"
+AC_SUBST(X_LDFLAGS)
dnl ###############################################
dnl Settung up library version
--- agg-2.5.orig/src/platform/X11/Makefile.am 2006-12-11 00:59:45.000000000 +0000
+++ agg-2.5/src/platform/X11/Makefile.am 2007-01-07 14:07:39.000000000 +0000
@@ -1,8 +1,8 @@
if ENABLE_X11
lib_LTLIBRARIES = libaggplatformX11.la
-libaggplatformX11_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ -L@x_libraries@
+libaggplatformX11_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ @X_LDFLAGS@
libaggplatformX11_la_SOURCES = agg_platform_support.cpp
libaggplatformX11_la_CXXFLAGS = -I$(top_srcdir)/include -I@x_includes@
-libaggplatformX11_la_LIBADD = -lX11
+libaggplatformX11_la_LIBADD = ../../libagg.la -lX11
endif

View file

@ -0,0 +1,10 @@
--- agg-2.5/libagg.pc.in.orig 2007-01-07 13:58:28.000000000 +0000
+++ agg-2.5/libagg.pc.in 2007-01-07 14:02:40.000000000 +0000
@@ -6,5 +6,6 @@
Name: libagg
Description: Anti Grain Geometry - A High Quality Rendering Engine for C++
Version: @VERSION@
-Libs: -L${libdir} -Wl,-rpath,${exec_prefix}/lib -lagg
+Requires.private: freetype2
+Libs: -L${libdir} -lagg
Cflags: -I${includedir}

25
extra/aif/PKGBUILD Normal file
View file

@ -0,0 +1,25 @@
# $Id$
# Maintainer: Dieter Plaetinck <dieter@plaetinck.be>
pkgname=aif
pkgver=2009.08.07
pkgrel=1
pkgdesc="The ArchLinux Installation Framework"
arch=('i686' 'x86_64')
url="http://projects.archlinux.org/?p=aif.git;a=summary"
license=('GPL3')
depends=('bash' 'pacman')
optdepends=('markdown: to generate the html installation guide')
source=(http://ftp.archlinux.org/other/aif/aif-$pkgver.tar.gz)
md5sums=('b8d76716f85a4f7ec56dc0c195833ce5')
build() {
cd $srcdir/aif-$pkgver/
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:

28
extra/aiksaurus/PKGBUILD Normal file
View file

@ -0,0 +1,28 @@
# $Id: PKGBUILD 45576 2009-07-12 17:54:50Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=aiksaurus
pkgver=1.2.1
pkgrel=2
pkgdesc="A cross-platform, open-source thesaurus"
url="http://aiksaurus.sourceforge.net/"
license=('GPL')
arch=('i686' 'x86_64')
options=('!libtool')
depends=('gtk2')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
'aiksaurus-gcc44.patch')
md5sums=('3eae03b7c49843ccc9262e52846ea6b4'
'7f94749172116b1529fc21b718ee7636')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# gcc44 build patch
patch -Np0 -i ${srcdir}/aiksaurus-gcc44.patch || return 1
./configure --prefix=/usr --with-gtk
make || return 1
make DESTDIR=${pkgdir} install
}

View file

@ -0,0 +1,31 @@
--- base/aiksaurus.t.cpp~ 2003-06-26 21:44:38.000000000 -0400
+++ base/aiksaurus.t.cpp 2009-05-31 20:02:29.172988678 -0400
@@ -22,6 +22,7 @@
#include "Aiksaurus.h"
#include "AsciiCompare.h"
#include "config.h"
+#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
--- ./gtk/src/Display.cpp~ 2003-05-27 19:56:54.000000000 -0400
+++ ./gtk/src/Display.cpp 2009-06-02 18:09:36.198627551 -0400
@@ -22,6 +22,7 @@
#include "Meaning.h"
#include "DialogMediator.h"
#include "Exception.h"
+#include <cstring>
using namespace std;
namespace AiksaurusGTK_impl
--- ./gtk/src/gtkAiksaur.t.cpp~ 2002-01-11 21:02:12.000000000 -0500
+++ ./gtk/src/gtkAiksaur.t.cpp 2009-06-02 18:12:06.815277325 -0400
@@ -21,6 +21,7 @@
#include <AiksaurusGTK.h>
#include "config.h"
#include <gtk/gtk.h>
+#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;

29
extra/akonadi/PKGBUILD Normal file
View file

@ -0,0 +1,29 @@
# $ Id: $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=akonadi
pkgver=1.2.1
pkgrel=1
pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
arch=('i686' 'x86_64')
url='http://www.akonadi-project.org'
license=('LGPL')
depends=('shared-mime-info' 'boost' 'mysql' 'soprano')
makedepends=('pkgconfig' 'cmake' 'automoc4')
install='akonadi.install'
source=("http://download.akonadi-project.org/${pkgname}-${pkgver}.tar.bz2")
md5sums=('f9c1d000844f31c67360078ddf60bec2')
build() {
cd $srcdir
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make
make DESTDIR=$pkgdir install
}

View file

@ -0,0 +1,11 @@
post_install() {
update-mime-database usr/share/mime &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

25
extra/alacarte/PKGBUILD Normal file
View file

@ -0,0 +1,25 @@
# $Id: PKGBUILD 38660 2009-05-09 23:35:08Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: pressh <pressh@gmail.com>
pkgname=alacarte
pkgver=0.12.1
pkgrel=1
pkgdesc="Menu editor for gnome"
arch=(i686 x86_64)
license=('LGPL')
url="http://www.realistanew.com/projects/alacarte/"
depends=('gnome-menus>=2.26.1' 'gnome-python>=2.26.0')
makedepends=('pkgconfig' 'intltool')
install=alacarte.install
options=('!libtool')
groups=('gnome-extra')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.12/${pkgname}-${pkgver}.tar.bz2)
md5sums=('c6d77f7e5ee6129532e4bb1a35a07194')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}

View file

@ -0,0 +1,11 @@
post_install() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

26
extra/allegro/LICENSE Normal file
View file

@ -0,0 +1,26 @@
===================================
============ Copyright ============
===================================
Allegro is gift-ware. It was created by a number of people working in
cooperation, and is given to you freely as a gift. You may use, modify,
redistribute, and generally hack it about in any way you like, and you do
not have to give us anything in return. However, if you like this product
you are encouraged to thank us by making a return gift to the Allegro
community. This could be by writing an add-on package, providing a useful
bug report, making an improvement to the library, or perhaps just
releasing the sources of your program so that other people can learn from
them. If you redistribute parts of this code or make a game using it, it
would be nice if you mentioned Allegro somewhere in the credits, but you
are not required to do this. We trust you not to abuse our generosity.
Disclaimer:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

32
extra/allegro/PKGBUILD Normal file
View file

@ -0,0 +1,32 @@
# $Id: PKGBUILD 52058 2009-09-14 21:52:23Z giovanni $
# Maintainer:
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: arjan <arjan@archlinux.org>
pkgname=allegro
pkgver=4.2.2
pkgrel=3
pkgdesc="Portable library mainly aimed at video game and multimedia programming"
arch=(i686 x86_64)
url="http://alleg.sourceforge.net/"
license=('custom')
depends=('jack-audio-connection-kit' 'libxpm' 'libxxf86vm' 'libxxf86dga' 'libxcursor')
options=('!makeflags')
source=(http://downloads.sourceforge.net/alleg/${pkgname}-${pkgver}.tar.gz
LICENSE)
md5sums=('87ffb1def034e0ec29a9ad4a595cda7e'
'cd97e2992e8e66b9e6a449d832dc9c7a')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--enable-artsdigi=no \
--enable-esddigi=no \
--disable-asm \
--disable-mmx \
--disable-sse || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}

31
extra/alltray/PKGBUILD Normal file
View file

@ -0,0 +1,31 @@
# Maintainer : James Rayner <iphitus@gmail.com>
# Contributor: Roberto Salas <ro0xito@gmail.com>
pkgname=alltray
pkgver=0.70
pkgrel=1
pkgdesc="Drop's any app in the tray."
license=("GPL")
arch=(i686 x86_64)
url="http://alltray.sourceforge.net"
depends=('gconf')
source=(http://optusnet.dl.sourceforge.net/sourceforge/alltray/$pkgname-$pkgver.tar.gz)
build()
{
cd $startdir/src/$pkgname-$pkgver
#Arch64 fix
if [ "$CARCH" = "x86_64" ]; then
./configure --prefix=/usr --disable-gconf
else ./configure --prefix=/usr
fi
make || return 1
make DESTDIR=$startdir/pkg install
find $startdir/pkg -name *.la -exec rm {} +
}
md5sums=('675a0a60f22fae04da787095ef0bd7d9')

View file

@ -0,0 +1,13 @@
--- alpine-2.00.orig/alpine/Makefile.in
+++ alpine-2.00/alpine/Makefile.in
@@ -169,7 +169,7 @@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
+LIBS = @LIBS@ -lpam
LIBTOOL = @LIBTOOL@
LN = @LN@
LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@

View file

@ -0,0 +1,20 @@
--- alpine-2.00/imap/src/c-client/rfc822.c
+++ alpine-2.00/imap/src/c-client/rfc822.c
@@ -1351,6 +1351,7 @@
static long rfc822_output_char (RFC822BUFFER *buf,int c)
{
+ if ((buf->cur == buf->end) && !rfc822_output_flush (buf)) return NIL;
*buf->cur++ = c; /* add character, soutr buffer if full */
return (buf->cur == buf->end) ? rfc822_output_flush (buf) : LONGT;
}
@@ -1374,7 +1375,8 @@
len -= i;
}
/* soutr buffer now if full */
- if (len && !rfc822_output_flush (buf)) return NIL;
+ if ((len || (buf->cur == buf->end)) && !rfc822_output_flush (buf))
+ return NIL;
}
return LONGT;
}

38
extra/alpine/ChangeLog Normal file
View file

@ -0,0 +1,38 @@
2009-09-18 Eric Belanger <eric@archlinux.org>
* alpine 2.00-6
* libldap-2.4 rebuild
2009-09-18 Eric Belanger <eric@archlinux.org>
* alpine 2.00-5
* Updated patchset to level 52
* Security fix
2009-09-17 Allan McRae <allan@archlinux.org>
* alpine 2.00-4
* libldap-2.4 rebuild
2009-02-07 Eric Belanger <eric@archlinux.org>
* alpine 2.00-3
* Updated patchset to level 20
2008-12-05 Eric Belanger <eric@archlinux.org>
* alpine 2.00-2
* Rebuilt against heimdal 1.2.1
* Placed copy of all.patch.gz patch on local ftp (close FS#11964)
2008-09-04 Eric Belanger <eric@archlinux.org>
* alpine 2.00-1
* Upstream update
* Replaced install scriptlet with optdepends
2008-03-26 Eric Belanger <eric@archlinux.org>
* alpine 1.10-1
* Upstream update
* Added ChangeLog

37
extra/alpine/PKGBUILD Normal file
View file

@ -0,0 +1,37 @@
# $Id: PKGBUILD 52374 2009-09-19 01:47:33Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Fabio Scotoni <fabio@esse.ch>
pkgname=alpine
pkgver=2.00
pkgrel=6
_patchlevel=52
pkgdesc="The Apache-licensed PINE (a tool for reading, sending, and managing electronic messages)"
arch=('i686' 'x86_64')
url="http://www.washington.edu/alpine/"
license=('APACHE')
depends=('libldap>=2.4.18' 'heimdal>=1.2.1' 'gettext')
optdepends=('aspell: for spell-checking support')
provides=('pine')
conflicts=('pine')
replaces=('pine')
options=('!makeflags')
source=(ftp://ftp.cac.washington.edu/${pkgname}/${pkgname}.tar.bz2 \
http://staff.washington.edu/chappa/alpine/patches/alpine-${pkgver}/all_${_patchlevel}.patch.gz \
2.00-lpam.patch CVE-2008-5514.patch)
md5sums=('84e44cbf71ed674800a5d57eed9c1c52' '33d9fa000f896fce23cc58b56068428f'\
'cd3911c16fc6a072e853c0ccfc35857c' '1b52a54a656979116c09fb1d948a4325')
sha1sums=('dcbd3c5419954f484ccf706feaba31ce48cdebc4' '1d952e652e8ccf11867af12fe6de70180e58acb1'\
'1b39525f91ebd5a9de5a1e04f5554f6fa5f58ae3' 'bc61d76a237ff42b00b3f60f2e6fc5c45e261dbb')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 < ../all_${_patchlevel}.patch || return 1
patch -p1 < ../2.00-lpam.patch || return 1
patch -p1 < ../CVE-2008-5514.patch || return 1
./configure --prefix=/usr --without-passfile --without-tcl \
--disable-shared --with-system-pinerc=/etc/alpine.d/pine.conf \
--with-system-fixed-pinerc=/etc/alpine.d/pine.conf.fixed || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}

View file

@ -0,0 +1,22 @@
# $Id: PKGBUILD 51333 2009-09-07 16:10:25Z tpowa $
# Contributor: Jochen Immendörfer <jochen dot immendoerfer at gmail dot com>
# Package Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=alsa-firmware
pkgver=1.0.20
pkgrel=1
pkgdesc="ALSA firmware package"
arch=('i686' 'x86_64')
url="http://alsa-project.org/"
license=('GPL')
source=(ftp://ftp.alsa-project.org/pub/firmware/$pkgname-$pkgver.tar.bz2)
md5sums=('75fe079c35c091cac49f3a60876bc26a')
options=(!strip)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install || return 1
}

20
extra/alsa-oss/PKGBUILD Normal file
View file

@ -0,0 +1,20 @@
# $Id: PKGBUILD 13736 2008-09-28 09:04:09Z tpowa $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=alsa-oss
pkgver=1.0.17
pkgrel=1
pkgdesc="OSS compatibility library"
arch=(i686 x86_64)
license=('GPL')
url="http://www.alsa-project.org"
options=(!libtool)
depends=('glibc' 'alsa-lib>=1.0.17a')
source=(ftp://ftp.alsa-project.org/pub/oss-lib/$pkgname-$pkgver.tar.bz2)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
md5sums=('1b1850c2fc91476a73d50f537cbd402f')

View file

@ -0,0 +1,6 @@
2009-02-23 Eric Belanger <eric@archlinux.org>
* alsaplayer 0.99.80-2
* Added gtk2 GUI (close FS#13372)
* Moved depends to optdepends
* Added ChangeLog

34
extra/alsaplayer/PKGBUILD Normal file
View file

@ -0,0 +1,34 @@
# $Id: PKGBUILD 27628 2009-02-24 01:38:37Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Jochem Kossen <j.kossen@home.nl>
pkgname=alsaplayer
pkgver=0.99.80
pkgrel=2
pkgdesc="A heavily multi-threaded PCM player that tries to excercise the ALSA library and driver quite a bit."
arch=('i686' 'x86_64')
url="http://www.alsaplayer.org/"
license=('GPL')
depends=('gcc-libs')
makedepends=('gtk2' 'libid3tag' 'libvorbis' 'libmad' 'libmikmod' 'jack-audio-connection-kit' 'esound')
optdepends=('gtk2: for the gtk2 GUI interface' \
'esound: for ESD audio server output support' \
'jack-audio-connection-kit: for JACK audio server output support' \
'audiofile: for support of various audio formats like AIFF, WAVE, .snd/.au' \
'libid3tag and flac: for flac support' 'libmad: for MPEG support' \
'libsndfile: for sndfile support' 'libvorbis: for ogg vorbis support' \
'libmikmod: for mod, s3m, it and xm formats supports')
options=('!libtool')
source=(http://www.alsaplayer.org/${pkgname}-${pkgver}.tar.bz2 gcc.diff)
md5sums=('04f8c2321a37d15f40f9ee21251c6202' '0c1790e4744d9b085208436f5442efe0')
sha1sums=('883d590b01371840024b5a8bf0fe95b464a2ccd1' '684ac4ea9f58e63da7f4c9518196128714575066')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -p0 < ../gcc.diff || return 1
./configure --prefix=/usr --enable-esd \
--disable-opengl --disable-gtk --enable-jack \
--enable-gtk2 --enable-audiofile || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
}

10
extra/alsaplayer/gcc.diff Normal file
View file

@ -0,0 +1,10 @@
--- app/ControlSocket.cpp.orig 2008-07-04 22:34:38.000000000 +0200
+++ app/ControlSocket.cpp 2008-07-04 22:35:53.000000000 +0200
@@ -28,6 +28,7 @@
#include <sys/un.h>
#include <csignal>
#include <pwd.h>
+#include <climits>
#include "control.h"
#include "message.h"
#include "Playlist.h"

32
extra/amarok/PKGBUILD Normal file
View file

@ -0,0 +1,32 @@
# $Id: PKGBUILD 53517 2009-10-01 22:05:09Z andrea $
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: damir <damir@archlinux.org>
pkgname=amarok
replaces=('amarok-base' 'amarok-engine-xine' 'amarok-base-mysqlfree')
pkgver=2.2.0
pkgrel=1
pkgdesc="A media player for KDE"
arch=("i686" "x86_64")
url="http://amarok.kde.org"
license=('GPL2' 'LGPL2' 'FDL')
depends=('mysql>=5.1.37' 'kdebase-runtime>=4.3' 'libmtp>=0.3.7' 'libgpod>=0.7.2'
'libmp4v2' 'qtscriptgenerator>=0.1.0' 'taglib-extras>=1.0.1'
'liblastfm>=0.3.0' 'loudmouth>=1.4.3')
makedepends=('pkgconfig' 'automoc4' 'cmake')
install=amarok.install
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
md5sums=('5a0188c5eb7d343109b82964942d8eb5')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
make DESTDIR=${pkgdir} install || return 1
}

View file

@ -0,0 +1,11 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

37
extra/amule/PKGBUILD Normal file
View file

@ -0,0 +1,37 @@
# $Id: PKGBUILD 52339 2009-09-17 12:57:32Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Henrik Ronellenfitsch <searinox@web.de>
pkgname=amule
pkgver=2.2.6
pkgrel=1
pkgdesc="An eMule-like client for ed2k p2p network"
arch=('i686' 'x86_64')
url="http://www.amule.org"
license=('GPL')
depends=('wxgtk>=2.8.10.1' 'gd>=2.0.35' 'geoip')
makedepends=('crypto++')
source=(http://downloads.sourceforge.net/project/${pkgname}/aMule/${pkgver}/aMule-${pkgver}.tar.bz2)
md5sums=('530d9b48187e36f78fc21bb19e94326d')
build() {
cd ${srcdir}/aMule-${pkgver}
./configure --prefix=/usr \
--mandir=/usr/share/man \
--enable-cas \
--enable-wxcas \
--enable-amule-daemon \
--enable-amulecmd \
--enable-amule-gui \
--enable-alc \
--enable-alcc \
--enable-webserver \
--disable-debug \
--enable-optimize \
--enable-ccache \
--enable-geoip
make || return 1
make DESTDIR=${pkgdir}/ install || return 1
}

36
extra/anjuta/PKGBUILD Normal file
View file

@ -0,0 +1,36 @@
# $Id: PKGBUILD 44674 2009-07-03 17:43:31Z jgc $
# Mantainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Harley Laue <losinggeneration@yahoo.com>
pkgname=anjuta
pkgver=2.26.2.2
pkgrel=1
pkgdesc="Anjuta Integrated Development Environment (IDE)"
arch=('i686' 'x86_64')
license=('GPL')
depends=('autogen>=5.9.5' 'devhelp>=0.23' 'gnome-build>=2.24.1' 'vte>=0.20.5' 'graphviz>=2.22.2' 'subversion>=1.6.1' 'gtksourceview2>=2.6.2' 'glade>=3.6.7' 'libglade>=2.6.4' 'libxslt>=1.1.24' 'libunique>=1.0.8' 'libgda>=4.0.2' 'gdl>=2.26.2' 'libgnomeui>=2.24.1' 'desktop-file-utils' 'ctags')
makedepends=('gnome-doc-utils>=0.16.1' 'intltool>=0.40.6' 'valgrind>=3.4.1')
optdepends=('valgrind: for the valgrind debugger plugin')
url="http://anjuta.sourceforge.net/"
install=anjuta.install
source=(ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2)
options=('!libtool' '!emptydirs')
md5sums=('8b05a4ee536b8057e38434efeaf468ff')
build() {
cd "${srcdir}/anjuta-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--enable-plugin-subversion --enable-plugin-glade \
--enable-plugin-valgrind \
--enable-plugin-sourceview --disable-gtk-doc \
--enable-debug --disable-scrollkeeper || return 1
make || return 1
make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain anjuta ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
#exists already in gnome-build
rm -f "${pkgdir}/usr/bin/gbf-am-parse"
rm -f "${pkgdir}/usr/bin/gbf-mkfile-parse"
}

View file

@ -0,0 +1,22 @@
pkgname=anjuta
post_install() {
usr/sbin/gconfpkg --install ${pkgname}
update-desktop-database -q
}
pre_upgrade() {
pre_remove $1
}
post_upgrade() {
post_install $1
}
pre_remove() {
usr/sbin/gconfpkg --uninstall ${pkgname}
}
post_remove() {
update-desktop-database -q
}

22
extra/anthy/PKGBUILD Normal file
View file

@ -0,0 +1,22 @@
# $Id: PKGBUILD 28115 2009-02-27 23:59:50Z eric $
# Maintainer: damir <damir@archlinux.org>
pkgname=anthy
pkgver=9100h
_filecode=37536
pkgrel=1
pkgdesc="Hiragana text to Kana Kanji mixed text Japanese input method"
arch=("i686" "x86_64")
url="http://sourceforge.jp/projects/anthy/"
license=('LGPL' 'GPL')
depends=('glibc')
options=('!libtool' 'force')
source=("http://downloads.sourceforge.jp/anthy/${_filecode}/$pkgname-$pkgver.tar.gz")
md5sums=('1f558ff7ed296787b55bb1c6cf131108')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc || return 1
make EMACS=emacs sysconfdir=/etc || return 1
make EMACS=emacs DESTDIR=$pkgdir install || return 1
}

26
extra/antiword/PKGBUILD Normal file
View file

@ -0,0 +1,26 @@
# Maintainer : Aaron, phrakture, Griffin <aaron@archlinux.org>
# Contributor: Gustav Munkby <grddev@gmx.net>
pkgname=antiword
pkgver=0.37
pkgrel=2
pkgdesc="Antiword is a free MS Word reader for Linux and RISC OS"
arch=('i686' 'x86_64')
url="http://www.winfield.demon.nl/"
license="GPL"
depends=('glibc')
install=antiword.install
source=(http://www.winfield.demon.nl/linux/$pkgname-$pkgver.tar.gz \
antiword-helper)
md5sums=('f868e2a269edcbc06bf77e89a55898d1' '01a988376cfd4bb268120ab597c9abe3')
build()
{
cd $srcdir/$pkgname-$pkgver
sed -i "s|CFLAGS =.*|CFLAGS = $CFLAGS -DNDEBUG|g; \
s|GLOBAL_INSTALL_DIR =.*|GLOBAL_INSTALL_DIR = /usr/bin|g" \
Makefile.Linux
make DESTDIR=$pkgdir global_install
install -m755 $srcdir/antiword-helper $pkgdir/usr/bin/
install -Dm644 Docs/antiword.1 $pkgdir/usr/share/man/man1/antiword.1
}

View file

@ -0,0 +1,13 @@
#!/bin/bash
[ $# -eq 2 ] || exit 1
tmpfile=/tmp/aw$$.txt
editor=${EDITOR:-`which vi`}
terminal="$2"
antiword "$1" > $tmpfile
chmod -w $tmpfile
$terminal -e $editor $tmpfile
chmod +w $tmpfile
rm $tmpfile

View file

@ -0,0 +1,26 @@
post_install()
{
cat << EOF
NOTES On Antiword Integration:
* If you use mozplugger, make sure to configure the
msword section like so (replacing <TERMINAL> with your
terminal of choice):
application/msword: doc, dot: Microsoft Word Document
ignore_errors exits: antiword-helper <TERMINAL> "$file"
* To properly use antiword in your mailcap settings:
application/msword; antiword %s; copiousoutput
* To enable drag-and-drop support in KDE, use the kantiword script
EOF
}
post_upgrade()
{
post_install $1
}
op=$1
shift
$op $*

49
extra/apache-ant/PKGBUILD Normal file
View file

@ -0,0 +1,49 @@
# $Id: PKGBUILD 44514 2009-07-02 11:40:47Z paul $
# Contributor: Andrew Wright <andreww@photism.org>
# Maintainer: Paul Mattal <paul@archlinux.org>
pkgname=apache-ant
pkgver=1.7.1
pkgrel=3
pkgdesc="A java-based build tool."
arch=('i686' 'x86_64')
license=('APACHE')
url="http://ant.apache.org/"
depends=('java-runtime')
optdepends=('junit: to jave junit on the classpath in javac tasks')
source=(http://archive.apache.org/dist/ant/binaries/${pkgname}-${pkgver}-bin.tar.bz2
${pkgname}.sh)
md5sums=('9330447f3763b87570dd1118c49a8efd'
'593ee6ebd9b8ec321534a028e686880f')
build() {
# install profile.d script
install -dm755 ${pkgdir}/etc/profile.d || return 1
install -m755 ${srcdir}/${pkgname}.sh ${pkgdir}/etc/profile.d/ || return 1
# Get the ANT_HOME env var
source ${srcdir}/${pkgname}.sh || return 1
cd ${srcdir}/${pkgname}-${pkgver}
install -dm755 ${pkgdir}/${ANT_HOME}/{bin,lib} || return 1
install -m644 ./lib/*.jar ${pkgdir}/${ANT_HOME}/lib || return 1
cp -Rp ./etc ${pkgdir}/${ANT_HOME} || return 1
# Do not copy Windows .bat/.cmd files
find ./bin -type f -a ! -name \*.bat -a ! -name \*.cmd \
-exec install -m755 {} ${pkgdir}/${ANT_HOME}/bin \; || return 1
# symlink to junit so it's on the javac build path for ant
# matches behavior on ubuntu 9 and makes sense for compatibility
# http://bugs.archlinux.org/task/15229
cd $startdir/pkg/usr/share/java/apache-ant/lib || return 1
ln -s ../../junit.jar . || return 1
cd - || return 1
# The license says the NOTICE file should be redistributed for derivative
# works, so lets supply it.
install -dm755 ${pkgdir}/usr/share/licenses/${pkgname} || return 1
install -m644 LICENSE NOTICE ${pkgdir}/usr/share/licenses/${pkgname} || return 1
}

View file

@ -0,0 +1,3 @@
export ANT_HOME=/usr/share/java/apache-ant
export PATH=$PATH:$ANT_HOME/bin

83
extra/apache/PKGBUILD Normal file
View file

@ -0,0 +1,83 @@
# $Id: PKGBUILD 53936 2009-10-04 02:15:01Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=apache
pkgver=2.2.14
pkgrel=1
pkgdesc='A high performance Unix-based HTTP server'
arch=('i686' 'x86_64')
options=('!libtool')
url='http://www.apache.org/dist/httpd'
license=('APACHE')
backup=(etc/httpd/conf/httpd.conf
etc/httpd/conf/extra/httpd-{autoindex,dav,default,info,languages}.conf
etc/httpd/conf/extra/httpd-{manual,mpm,multilang-errordoc}.conf
etc/httpd/conf/extra/httpd-{ssl,userdir,vhosts}.conf
etc/logrotate.d/httpd)
depends=('openssl' 'zlib' 'apr-util' 'pcre')
optdepends=('lynx: apachectl status')
source=("http://www.apache.org/dist/httpd/httpd-${pkgver}.tar.bz2"
'httpd.logrotate' 'httpd' 'arch.layout')
md5sums=('a5226203aaf97e5b941c41a71c112704'
'f4d627c64024c1b7b95efb5ffbaa625e'
'bddd84dafa770d74df1dc1f96bd71823'
'3d659d41276ba3bfcb20c231eb254e0c')
build() {
cd ${srcdir}/httpd-${pkgver}
# set default user
sed -e 's#User daemon#User http#' \
-e 's#Group daemon#Group http#' \
-i docs/conf/httpd.conf.in
cat ${srcdir}/arch.layout >> config.layout
./configure --enable-layout=Arch \
--enable-modules=all \
--enable-mods-shared=all \
--enable-so \
--enable-suexec \
--with-suexec-caller=http \
--with-suexec-docroot=/srv/http \
--with-suexec-logfile=/var/log/httpd/suexec.log \
--with-suexec-bin=/usr/sbin/suexec \
--with-suexec-uidmin=99 --with-suexec-gidmin=99 \
--enable-ldap --enable-authnz-ldap \
--enable-cache --enable-disk-cache --enable-mem-cache --enable-file-cache \
--enable-ssl --with-ssl \
--enable-deflate --enable-cgid \
--enable-proxy --enable-proxy-connect \
--enable-proxy-http --enable-proxy-ftp \
--enable-dbd \
--with-apr=/usr/bin/apr-1-config \
--with-apr-util=/usr/bin/apu-1-config \
--with-pcre=/usr
make || return 1
make DESTDIR=${pkgdir} install
install -D -m755 ${srcdir}/httpd ${pkgdir}/etc/rc.d/httpd
install -D -m644 ${srcdir}/httpd.logrotate ${pkgdir}/etc/logrotate.d/httpd
# symlinks for /etc/httpd
ln -fs /var/log/httpd ${pkgdir}/etc/httpd/logs
ln -fs /var/run/httpd ${pkgdir}/etc/httpd/run
ln -fs /usr/lib/httpd/modules ${pkgdir}/etc/httpd/modules
ln -fs /usr/lib/httpd/build ${pkgdir}/etc/httpd/build
# set sane defaults
sed -e 's#/usr/lib/httpd/modules/#modules/#' \
-e 's|#\(Include conf/extra/httpd-multilang-errordoc.conf\)|\1|' \
-e 's|#\(Include conf/extra/httpd-autoindex.conf\)|\1|' \
-e 's|#\(Include conf/extra/httpd-languages.conf\)|\1|' \
-e 's|#\(Include conf/extra/httpd-userdir.conf\)|\1|' \
-e 's|#\(Include conf/extra/httpd-default.conf\)|\1|' \
-i ${pkgdir}/etc/httpd/conf/httpd.conf
# cleanup
rm -rf ${pkgdir}/usr/share/httpd/manual
rm -rf ${pkgdir}/etc/httpd/conf/original
rm -rf ${pkgdir}/srv/http
rmdir ${pkgdir}/usr/bin
}

22
extra/apache/arch.layout Normal file
View file

@ -0,0 +1,22 @@
<Layout Arch>
prefix: /etc/httpd
exec_prefix: /usr
bindir: /usr/bin
sbindir: /usr/sbin
libdir: /usr/lib/httpd
libexecdir: /usr/lib/httpd/modules
mandir: /usr/share/man
sysconfdir: /etc/httpd/conf
datadir: /usr/share/httpd
installbuilddir: /usr/lib/httpd/build
errordir: /usr/share/httpd/error
iconsdir: /usr/share/httpd/icons
htdocsdir: /srv/http
manualdir: /usr/share/httpd/manual
cgidir: /srv/http/cgi-bin
includedir: /usr/include/httpd
localstatedir: /var
runtimedir: /var/run/httpd
logfiledir: /var/log/httpd
proxycachedir: /var/cache/httpd
</Layout>

71
extra/apache/httpd Executable file
View file

@ -0,0 +1,71 @@
#!/bin/bash
daemon_name=httpd
. /etc/rc.conf
. /etc/rc.d/functions
case "$1" in
start)
stat_busy "Starting $daemon_name daemon"
# RUN
/usr/sbin/apachectl start &>/dev/null
#
if [ $? -gt 0 ]; then
stat_fail
exit 1
else
add_daemon $daemon_name
stat_done
fi
;;
stop)
stat_busy "Stopping $daemon_name daemon"
# KILL
/usr/sbin/apachectl stop &>/dev/null
#
if [ $? -gt 0 ]; then
stat_fail
exit 1
else
rm_daemon $daemon_name
stat_done
fi
;;
reload)
stat_busy "Reloading $daemon_name daemon"
/usr/sbin/apachectl graceful &>/dev/null
if [ $? -gt 0 ]; then
stat_fail
exit 1
else
add_daemon $daemon_name
stat_done
fi
;;
restart)
stat_busy "Restarting $daemon_name daemon"
/usr/sbin/apachectl restart &>/dev/null
if [ $? -gt 0 ]; then
stat_fail
exit 1
else
add_daemon $daemon_name
stat_done
fi
;;
status)
stat_busy "Checking $daemon_name status";
ck_status $daemon_name
;;
*)
echo "usage: $0 {start|stop|reload|restart|status}"
esac
exit 0

View file

@ -0,0 +1,5 @@
/var/log/httpd/*log {
postrotate
/bin/kill -HUP `cat /var/run/httpd/httpd.pid 2>/dev/null` 2> /dev/null || true
endscript
}

23
extra/apollon/PKGBUILD Normal file
View file

@ -0,0 +1,23 @@
# $Id: PKGBUILD 6638 2008-07-26 01:22:07Z eric $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
pkgname=apollon
pkgver=1.0.2.1
pkgrel=4
pkgdesc="Apollon is a KDE-based client for the giFT."
arch=('i686' 'x86_64')
url="http://apollon.sourceforge.net/"
license=('GPL2')
depends=('kdelibs3' 'gift')
options=('libtool') #Don't slay .la files, this is a KDE app!
source=(http://dl.sourceforge.net/sourceforge/apollon/$pkgname-$pkgver.tar.gz)
md5sums=('d9624419e8fe3e1b274639063ea31dd0')
build() {
cd $startdir/src/$pkgname-$pkgver
. /etc/profile.d/kde3.sh
./configure --prefix=/opt/kde --without-arts
make || return 1
make DESTDIR=$startdir/pkg install
}

22
extra/apricots/PKGBUILD Normal file
View file

@ -0,0 +1,22 @@
# $Id: PKGBUILD 27264 2009-02-18 03:07:20Z eric $
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
pkgname=apricots
pkgver=0.2.6
pkgrel=3
pkgdesc="A simple 2D flying/bombing game similar to basic side scrollers"
arch=("i686" "x86_64")
license=('GPL')
url="http://www.fishies.org.uk/apricots.html"
depends=('gcc-libs' 'openal>=1.6.372' 'sdl' 'freealut>=1.1.0')
source=("http://www.fishies.org.uk/$pkgname-$pkgver.tar.gz" \
"apricots-0.2.6-freealut.patch")
md5sums=('910828d717e46d8cbd9c24f702d09fbc' '5f9f74082dfe162ab3ba51f6ec628f99')
build() {
cd $srcdir/$pkgname-$pkgver
patch -Np0 -i $startdir/src/apricots-0.2.6-freealut.patch || return 1
./configure --prefix=/usr || return 1
make || return 1
make prefix=$pkgdir/usr install || return 1
}

View file

@ -0,0 +1,65 @@
--- apricots/apricots.cpp
+++ apricots/apricots.cpp
@@ -16,6 +16,7 @@
int main(int, char**){
#endif
+atexit(SDL_Quit);
// Initialize data
gamedata g;
init_data(g);
--- apricots/sampleio.cpp
+++ apricots/sampleio.cpp
@@ -74,12 +74,9 @@
alListenerfv(AL_ORIENTATION, front );
// Load in samples
- ALvoid* data = malloc(5 * (512 * 3) * 1024);
alGenBuffers(numsamples, samples);
for (int i = 0; i < numsamples; i++){
- ALsizei freq;
- ALboolean fileok;
// Evil OpenAL portability fix done here
#ifdef _WIN32
ALenum format;
@@ -87,15 +84,12 @@
alutLoadWAVFile(filenames[i],&format,&data,&filelen,&freq,&trash);
fileok = (alGetError() == AL_NO_ERROR);
#else
- ALsizei format;
- ALsizei trash;
- fileok = alutLoadWAV(filenames[i],&data,&format,&filelen,&trash,&freq);
+ samples[i] = alutCreateBufferFromFile(filenames[i]);
#endif
- if (!fileok){
+ if (samples[i] == AL_NONE){
cerr << "sampleio: could not open " << filenames[i] << endl;
exit(1);
}
- alBufferData(samples[i], format, data, filelen, freq);
}
// Generate Sources
@@ -107,7 +101,6 @@
alSourcefv(sources[j], AL_ORIENTATION, back );
}
- free(data);
}
--- configure.in
+++ configure.in
@@ -100,7 +100,8 @@
dnl Check for OpenAL
AC_CHECK_HEADER(AL/al.h,[CXXFLAGS="$CXXFLAGS -DAP_AUDIO_OPENAL"])
-AC_CHECK_LIB( openal, alutInit)
+AC_CHECK_LIB( openal, alGetError)
+AC_CHECK_LIB( alut, alutInit)
KDE_CHECK_EXTRA_LIBS
all_libraries="$all_libraries $USER_LDFLAGS"

22
extra/arch/PKGBUILD Normal file
View file

@ -0,0 +1,22 @@
# $Id: PKGBUILD 20637 2008-12-06 04:18:52Z allan $
# Maintainer: Judd Vinet <jvinet@zeroflux.org>
pkgname=arch
pkgver=1.3.5
pkgrel=5
pkgdesc="a modern and remarkable revision control system"
arch=(i686 x86_64)
license=('GPL')
url="http://regexps.srparish.net/www/#Gnu-arch"
depends=('zlib' 'expat' 'heimdal>=1.2')
source=(ftp://ftp.gnu.org/gnu/gnu-arch/tla-$pkgver.tar.gz)
md5sums=('db31ee89bc4788eef1eba1cee6c176ef')
options=('!makeflags')
build() {
cd $startdir/src/tla-$pkgver/src
mkdir =build
cd =build
../configure --prefix /usr
make || return 1
make prefix=$startdir/pkg/usr install
}

49
extra/archboot/PKGBUILD Normal file
View file

@ -0,0 +1,49 @@
# $Id: PKGBUILD 52118 2009-09-16 07:06:50Z tpowa $
# Maintainer : Tobias Powalowski <tpowa@archlinux.org>
pkgname=archboot
pkgver=2009.09
pkgrel=1
pkgdesc="Advanced, modular arch boot/install image creation utility"
arch=(i686 x86_64)
license=('GPL')
url="http://www.archlinux.org/"
depends=('mkinitcpio>=0.5.26-1' 'mksyslinux>=2008.12-1' 'mkpxelinux>=2009.09-1' 'mkisolinux>=2008.12-1' 'initscripts>=2009.08-1' 'subversion>=1.6.5-3' 'wget>=1.11.4-2' 'bash>=4.0.028-1' 'coreutils>=7.5-2' 'cryptsetup>=1.0.7-1' 'dialog>=1.1_20080819-2' 'e2fsprogs>=1.41.8-2' 'findutils>=4.4.2-1' 'gawk>=3.1.7-1' 'grep>=2.5.4-3' 'iputils>=20071127-2' 'jfsutils>=1.1.14-1' 'less>=436-1' 'lvm2>=2.02.48-1' 'mdadm>=2.6.9-1' 'module-init-tools>=3.10-1' 'nano>=2.0.9-2' 'ncurses>=5.7-2' 'net-tools>=1.60-14' 'gnu-netcat>=0.7.1-3' 'ntfsprogs>=2.0.0-4' 'pcmciautils>=015-2' 'procps>=3.2.8-1' 'psmisc>=22.8-1' 'reiserfsprogs>=3.6.21-2' 'sed>=4.2.1-1' 'snarf>=7.0-3' 'syslog-ng>=3.0.4-1' 'sysvinit>=2.86-5' 'tar>=1.22-1' 'util-linux-ng>=2.16-1' 'which>=2.20-1' 'kbd>=1.15-2' 'wireless_tools>=29-3' 'xfsprogs>=3.0.1-2' 'dnsutils>=9.6.1-2' 'hdparm>=9.27-1' 'memtest86+>=2.11-1' 'grub>=0.97-16' 'inetutils>=1.6-4' 'openssh>=5.2p1-1' 'hwdetect>=2009.09-5' 'shadow>=4.1.4.2-1' 'bridge-utils>=1.4-2' 'ifenslave>=1.1.0-4' 'cpufrequtils>=005-2' 'links>=2.2-2' 'tcp_wrappers>=7.6-10' 'dosfstools>=3.0.5-1' 'glibc>=2.10.1-4' 'kernel-headers>=2.6.30.5-1' 'kernel26>=2.6.30.6-1' 'kernel26-firmware>=2.6.30-1' 'xinetd>=2.3.14-5' 'kexec-tools>=2.0.0-1' 'ppp>=2.4.4-9' 'rp-pppoe>=3.10-1' 'lilo>=22.8-3' 'iptables>=1.4.4-1' 'capi4k-utils>=050718-7' 'isdn4k-utils>=3.2p1-5' 'ntfs-3g>=2009.4.4-1' 'pciutils>=3.1.4-1' 'usbutils>=0.86-2' 'vpnc>=0.5.3-1' 'openvpn>=2.1_rc19-2' 'b43-fwcutter>=012-1' 'wpa_supplicant>=0.6.9-2' 'rsync>=3.0.6-1' 'gzip>=1.3.12-6' 'libdownload>=1.3-3' 'libarchive>=2.7.1-1' 'device-mapper>=1.02.33-1' 'screen>=4.0.3-8' 'libelf>=0.8.12-1' 'pam>=1.0.4-1' 'cracklib>=2.8.13-2' 'nfs-utils>=1.2.0-3' 'nfsidmap>=0.21-2' 'readline>=6.0.004-1' 'acl>=2.2.47-2' 'attr>=2.4.43-1' 'pcre>=7.9-1' 'cpio>=2.10-1' 'fuse>=2.8.0-1' 'klibc>=1.5.15-3' 'libusb>=0.1.12-3' 'vim>=7.2.245-1' 'lzo2>=2.03-1' 'libsasl>=2.1.23-1' 'libldap>=2.3.43-3' 'gpm>=1.20.6-1' 'libevent>=1.4.11-1' 'gcc-libs>=4.4.1-1' 'sdparm>=1.03-2' 'licenses>=2.5-1' 'pptpclient>=1.7.2-2' 'rt2x00-rt61-fw>=1.2-3' 'rt2x00-rt71w-fw>=1.8-3' 'ndiswrapper>=1.55-1' 'ndiswrapper-utils>=1.55-1' 'zd1211-firmware>=1.4-2' 'wlan-ng26-utils>=0.2.9-1' 'ipw2100-fw>=1.3-3' 'ipw2200-fw>=3.1-1' 'iwlwifi-3945-ucode>=15.32.2.9-1' 'iwlwifi-4965-ucode>=228.61.2.24-1' 'iwlwifi-5000-ucode>=8.24.2.12-1' 'smbclient>=3.3.7-1' 'tdb>=3.3.7-1' 'bittorrent>=5.2.2-1' 'dhcpcd>=5.1.0-1' 'openssl>=0.9.8k-4' 'git>=1.6.4.3-1' 'dmraid>=1.0.0.rc15-8' 'linux-atm>=2.5.0-1' 'netcfg>=2.2.1-1' 'tiacx>=20080210-10' 'tiacx-firmware>=2-1' 'parted>=1.8.8-3' 'tzdata>=2009l-1' 'ntp>=4.2.4p7-3' 'libgcrypt>=1.4.4-2' 'iw>=0.9.15-1' 'crda>=1.1.0-1' 'libnl>=1.1-1' 'iproute2>=2.6.29-1' 'wireless-regdb>=2009.08.05-1' 'v86d>=0.1.9-7' 'dhclient>=3.1.2p1-3' 'syslinux>=3.82-1' 'mtools>=4.0.10-5' 'fsarchiver>=0.5.9-1' 'iwlwifi-5150-ucode>=8.24.2.2-1' 'xz-utils>=4.999.9beta-1' 'libtirpc>=0.2.0-1' 'librpcsecgss>=0.18-1' 'rpcbind>=0.2.0-1' 'testdisk>=6.11-1' 'wipe>=2.2.0-2' 'clamav>=0.95.2-1' 'ddrescue>=1.11-1' 'udev>=146-2')
source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver-$pkgrel.tar.bz2 vmware-detect.c)
backup=('etc/archboot/archbootcd.conf' 'etc/archboot/archbootcd-lowmem.conf' 'etc/archboot/archpxelinux.conf' \
'etc/archboot/archsyslinux.conf' 'etc/archboot/install.conf' 'etc/archboot/install-lowmem.conf')
backup=('etc/archboot/allinone.conf'
'etc/archboot/allinone-lowmem.conf'
'etc/archboot/default.conf'
'etc/archboot/default-ftp.conf'
'etc/archboot/default-pxelinux.conf'
'etc/archboot/default-ftp-pxelinux.conf'
'etc/archboot/lowmem.conf'
'etc/archboot/allinone.conf'
'etc/archboot/presets/allinone'
'etc/archboot/presets/allinone-lowmem'
'etc/archboot/presets/isolinux'
'etc/archboot/presets/isolinux-lowmem'
'etc/archboot/presets/isolinux-ftp'
'etc/archboot/presets/syslinux'
'etc/archboot/presets/syslinux-lowmem'
'etc/archboot/presets/syslinux-ftp'
'etc/archboot/presets/pxelinux'
'etc/archboot/presets/pxelinux-ftp'
)
install=archboot.install
### to bump the depends list use this:
#for i in $(grep ^depends= PKGBUILD | sed -e 's/depends=(//g' -e 's/)//g'); do sed -i -e "s/$(echo $i)/$(echo $i | sed -e "s/>=.*/>=$(pacman -Qi $(echo $i | sed -e "s/'//g" -e 's/>=.*//g') | grep ^Version | sed -e 's/.*: //g')'/g")/g" PKGBUILD; done
build()
{
cd $srcdir/$pkgname-$pkgver-$pkgrel
mv * $pkgdir/
# vmware-detect
cd $startdir/src
gcc -o vmware-detect vmware-detect.c
install -D -m 755 vmware-detect $startdir/pkg/usr/bin/vmware-detect
}
md5sums=('d62203bd88ed9ea64f75ce847bc8bbd2'
'7e2b03463747cb22ab388e79a09fa0cb')

View file

@ -0,0 +1,24 @@
# This is a default template for a post-install scriptlet. You can
# remove any functions you don't need (and this header).
# arg 1: the new package version
post_install() {
cat << EOF
ARCHBOOT usage:
---------------
--> Main config files were installed to '/etc/archboot/'.
Preset files were installed to '/etc/archboot/presets'.
Modify them to your needs.
--> Use the preset files as config file of your build tool:
mkisolinux, mksyslinux or mkpxelinux
--> For Allinone ISOs use archboot-allinone.sh
EOF
}
post_upgrade() {
post_install $1
}
op=$1
shift
$op $*

View file

@ -0,0 +1,13 @@
#include <stdio.h>
int main() {
unsigned char idtr[6];
asm("sidt %0" : "=m" (idtr));
if(0xff==idtr[5])
{
return 0;
}
else
{
return 1;
}
}

19
extra/archiso/PKGBUILD Normal file
View file

@ -0,0 +1,19 @@
# $Id: PKGBUILD 27219 2009-02-17 04:14:42Z eric $
pkgname=archiso
pkgver=0.1
pkgrel=1
pkgdesc="ArchLinux livecd generation scripts"
arch=('i686' 'x86_64')
url="http://projects.archlinux.org/?p=archiso.git"
license=('GPL')
depends=('mkinitcpio' 'cdrkit' 'squashfs-tools' 'devtools')
source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('84c39d8f423fd60646a1013837c68167')
build() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:

View file

@ -0,0 +1,32 @@
# $Id: PKGBUILD 53942 2009-10-04 05:50:03Z thayer $
# Contributor: Thayer Williams <thayer@archlinux.org>
# Maintainer: Thayer Williams <thayer@archlinux.org>
pkgname=archlinux-artwork
pkgver=1.5
pkgrel=2
pkgdesc="Official logos, icons, CD labels and other artwork for Arch Linux"
arch=(i686 x86_64)
url="http://www.archlinux.org/"
license=('CCPL:cc-by-nc-sa' 'custom:TRADEMARKS')
install=archlinux-artwork.install
source=(ftp://ftp.archlinux.org/other/artwork/${pkgname}-${pkgver}.tar.gz)
md5sums=('7169db016b5084090c7011745b6446c0')
build() {
cd $srcdir/$pkgname-$pkgver
mkdir -p $pkgdir/usr/share/archlinux/{docs,cd-labels,icons,logos,wmlogos,web}
install -m644 FONTS $pkgdir/usr/share/archlinux/docs/
install -m644 TRADEMARKS $pkgdir/usr/share/archlinux/docs/
install -m644 cd-labels/* $pkgdir/usr/share/archlinux/cd-labels/
install -m644 icons/* $pkgdir/usr/share/archlinux/icons/
install -m644 logos/* $pkgdir/usr/share/archlinux/logos/
install -m644 wmlogos/* $pkgdir/usr/share/archlinux/wmlogos/
install -m644 web/* $pkgdir/usr/share/archlinux/web/
# add the custom license
mkdir -p $pkgdir/usr/share/licenses/$pkgname/
install -m644 TRADEMARKS $pkgdir/usr/share/licenses/$pkgname/
}

View file

@ -0,0 +1,4 @@
post_install() {
echo "==> Artwork has been installed to /usr/share/archlinux"
}

View file

@ -0,0 +1,23 @@
# $Id$
# Maintainer: Aaron Griffin <aaron@archlinux.org>
pkgname=archlinux-installer
pkgver=2009.02
pkgrel=2
pkgdesc="The ArchLinux install scripts and docs"
arch=('i686' 'x86_64')
url="http://projects.archlinux.org/?p=installer.git"
license=('GPL')
depends=('bash' 'dialog' 'util-linux-ng' 'grep' 'sed')
source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver-$pkgrel.tar.gz")
md5sums=('93bc355046775819baa9402ff0744bd3')
build() {
cd $srcdir/$pkgname-$pkgver-$pkgrel
install -D -m755 setup $pkgdir/arch/setup
install -D -m755 quickinst $pkgdir/arch/quickinst
install -D -m644 arch-linux-official-guide.txt \
$pkgdir/arch/arch-linux-official-guide.txt
}
# vim:set ts=2 sw=2 et:

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Comment=Archlinux AUR
Exec=xdg-open http://aur.archlinux.org
Icon=arch-logo.png
Name=AUR
StartupNotify=true
Terminal=false
Type=Application
Categories=Archlinux;

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Comment=Archlinux Bugtracker
Exec=xdg-open http://bugs.archlinux.org
Icon=arch-logo.png
Name=Bugs
StartupNotify=true
Terminal=false
Type=Application
Categories=Archlinux;

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Comment=Archlinux development team
Exec=xdg-open http://www.archlinux.org/developers/
Icon=arch-logo.png
Name=Developers
StartupNotify=true
Terminal=false
Type=Application
Categories=Archlinux;

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Comment=Archlinux Documentation
Exec=xdg-open http://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide
Icon=arch-logo.png
Name=Documentation
StartupNotify=true
Terminal=false
Type=Application
Categories=Archlinux;

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Comment=Archlinux Donations
Exec=xdg-open http://www.archlinux.org/donate/
Icon=arch-logo.png
Name=Donate
StartupNotify=true
Terminal=false
Type=Application
Categories=Archlinux;

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Comment=Archlinux Forum
Exec=xdg-open http://bbs.archlinux.org
Icon=arch-logo.png
Name=Forum
StartupNotify=true
Terminal=false
Type=Application
Categories=Archlinux;

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Comment=Archlinux homepage
Exec=xdg-open http://www.archlinux.org
Icon=arch-logo.png
Name=Homepage
StartupNotify=true
Terminal=false
Type=Application
Categories=Archlinux;

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Comment=Archlinux SVN
Exec=xdg-open http://repos.archlinux.org/viewvc.cgi/
Icon=arch-logo.png
Name=SVN
StartupNotify=true
Terminal=false
Type=Application
Categories=Archlinux;

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Comment=Archlinux goodie shopping
Exec=xdg-open http://www.zazzle.com/archlinux/
Icon=arch-logo.png
Name=Schwag
StartupNotify=true
Terminal=false
Type=Application
Categories=Archlinux;

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Comment=Archlinux Wiki
Exec=xdg-open http://wiki.archlinux.org
Icon=arch-logo.png
Name=Wiki
StartupNotify=true
Terminal=false
Type=Application
Categories=Archlinux;

View file

@ -0,0 +1,4 @@
[Desktop Entry]
Name=Archlinux
Icon=arch-logo.png
Type=Directory

View file

@ -0,0 +1,47 @@
# $Id: PKGBUILD 49716 2009-08-15 13:10:40Z jgc $
# Contributor: Jan de Groot <jgc@archlinux.org>
# Maintainer: Thayer Williams <thayer@archlinux.org>
pkgname=archlinux-menus
pkgver=2.2
pkgrel=2
pkgdesc="Arch Linux specific XDG-compliant menu"
arch=('any')
url="http://www.archlinux.org/"
license=('GPL')
depends=('xdg-utils')
source=(Arch-AUR.desktop
Arch-Bugs.desktop
Arch-Developers.desktop
Arch-Documentation.desktop
Arch-Donate.desktop
Arch-Forum.desktop
Arch-Homepage.desktop
Arch-Schwag.desktop
Arch-SVN.desktop
Arch-Wiki.desktop
arch-logo.png
Archlinux.directory)
md5sums=('748a4baa222de82f03ac17feb9523d15'
'7662f444e999f8f4d0fc0f8e3e35ff51'
'dcc6c6d7aa37ab64ce7d57838e4587e4'
'82f85d3408d69a0d0a977fdd8b3a82c3'
'b8b31b2f7a72c561566fc215e8f78b8d'
'73a94f31dd4f9332daa70c2075c8978e'
'aa8557e757c07e79789818161d95cad2'
'96a351c0eff7337d02f3bf0f1f051f45'
'45a55abfe8f6a9a9591ab7008ce02549'
'6aeccfb3ebd3d4b923199e4870c4c184'
'7ca3b587c44b8fdbff2074b753fb76f7'
'8320ad4adc71dc837bad64e8ea944338')
build() {
cd ${srcdir}
install -m755 -d ${pkgdir}/usr/share/desktop-directories
install -m755 -d ${pkgdir}/usr/share/applications
install -m755 -d ${pkgdir}/usr/share/pixmaps
install -m644 *.desktop ${pkgdir}/usr/share/applications/
install -m644 arch-logo.png ${pkgdir}/usr/share/pixmaps/
install -m644 Archlinux.directory ${pkgdir}/usr/share/desktop-directories/
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -0,0 +1,21 @@
# $Id: PKGBUILD 19468 2008-11-24 03:16:21Z thayer $
# Contributor: Thayer Williams <thayer@archlinux.org>
# Maintainer: Thayer Williams <thayer@archlinux.org>
pkgname=archlinux-themes-gdm
pkgver=1.4
pkgrel=1
pkgdesc="Arch Linux greeter themes for the GNOME login manager"
arch=(i686 x86_64)
url="http://www.archlinux.org/"
license=('CCPL:cc-by-sa')
depends=('gdm')
source=(ftp://ftp.archlinux.org/other/artwork/${pkgname}-${pkgver}.tar.gz)
md5sums=('bce4170608ed6f982f92277b7279ab98')
build() {
cd $srcdir/$pkgname-$pkgver
mkdir -p $pkgdir/usr/share/gdm/themes
mv archlinux-*/ $pkgdir/usr/share/gdm/themes
}

View file

@ -0,0 +1,37 @@
# $Id: PKGBUILD 19471 2008-11-24 03:26:21Z thayer $
# Contributor: Thayer Williams <thayer@archlinux.org>
# Maintainer: Thayer Williams <thayer@archlinux.org>
pkgname=archlinux-themes-kde
pkgver=1.5
pkgrel=1
pkgdesc="Arch Linux artwork and themes for KDE 4"
arch=(i686 x86_64)
url="http://www.archlinux.org/"
license=('CCPL:cc-by-sa')
install=archlinux-themes-kde.install
depends=('archlinux-artwork' 'archlinux-wallpaper' 'archlinux-themes-kdm')
source=(ftp://ftp.archlinux.org/other/artwork/${pkgname}-${pkgver}.tar.gz)
md5sums=('d0b01beb50e36737044353cd0fdfe9c8')
build() {
cd $srcdir/$pkgname-$pkgver
# documentation
mkdir -p $pkgdir/usr/share/archlinux/docs
cp archlinux-themes-kde.txt $pkgdir/usr/share/archlinux/docs/
# login pic
mkdir -p $pkgdir/usr/share/apps/kdm/pics/users
cp Arch-kdm.png $pkgdir/usr/share/apps/kdm/pics/users/
# link arch wallpapers to KDE's default wallpaper dir
mkdir -p $pkgdir/usr/share/wallpapers
ln -sf /usr/share/archlinux/wallpaper/*.* \
$pkgdir/usr/share/wallpapers/
# kmenu icons
mkdir -p $pkgdir/usr/share/icons
mv archlinux-iconset/ $pkgdir/usr/share/icons/archlinux-kde/
}

Some files were not shown because too many files have changed in this diff Show more