diff options
author | root <root@rshg054.dnsready.net> | 2013-01-09 00:06:34 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-01-09 00:06:34 -0800 |
commit | df5c50dd38ff67fd25c968d9ac33f9a52bc4583c (patch) | |
tree | 6845d6b38f64aa161c48055c8d45c94ad2418402 /pcr | |
parent | c6944c224fa06987b04ffc1e90f5db0dfb200be9 (diff) |
Wed Jan 9 00:06:34 PST 2013
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/debhelper/PKGBUILD | 29 | ||||
-rw-r--r-- | pcr/yabause-svn/PKGBUILD | 39 | ||||
-rw-r--r-- | pcr/yabause/PKGBUILD | 26 |
3 files changed, 94 insertions, 0 deletions
diff --git a/pcr/debhelper/PKGBUILD b/pcr/debhelper/PKGBUILD new file mode 100644 index 000000000..60ff8f267 --- /dev/null +++ b/pcr/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/pcr/yabause-svn/PKGBUILD b/pcr/yabause-svn/PKGBUILD new file mode 100644 index 000000000..e8996aa3a --- /dev/null +++ b/pcr/yabause-svn/PKGBUILD @@ -0,0 +1,39 @@ +pkgname=yabause-svn +pkgver=3010 +pkgrel=1 +pkgdesc="A Sega Saturn emulator. (svn)" +arch=(i686 x86_64) +license=("GPL") +depends=(gtkglext sdl freeglut glu) +makedepends=(subversion mesa) +url="http://yabause.org/" +conflicts=(yabause yabause-qt yabause-qt-svn) +provides=(yabause) +_svntrunk="https://yabause.svn.sourceforge.net/svnroot/yabause/trunk" +_svnmod="yabause" + +build() { + cd "${srcdir}" + + if [ -d "${_svnmod}/.svn" ]; then + (cd "$_svnmod" && svn up -r $pkgver) + else + svn co "$_svntrunk" --config-dir ./ -r $pkgver $_svnmod + fi + + msg 'SVN checkout done or server timeout' + + rm -rf "${_svnmod}-build" + cp -r "$_svnmod" "${_svnmod}-build" + cd "${_svnmod}-build/yabause" + + ./autogen.sh + ./configure --prefix=/usr LIBS="-lm" + make +} + +package() { + cd "${srcdir}/${_svnmod}-build/yabause" + make DESTDIR="${pkgdir}" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} diff --git a/pcr/yabause/PKGBUILD b/pcr/yabause/PKGBUILD new file mode 100644 index 000000000..255dee266 --- /dev/null +++ b/pcr/yabause/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Anton Shestakov <engored*ya.ru> +# Contributor: Tiago Camargo <tcamargo@gmail.com> +# Contributor: robb_force <robb_force@holybuffalo.net> +pkgname=yabause +pkgver=0.9.11.1 +pkgrel=1 +pkgdesc='A Sega Saturn emulator.' +url='http://yabause.org/' +license=('GPL') +arch=('i686' 'x86_64') +depends=('gtkglext' 'sdl' 'freeglut' 'glu') +makedepends=('mesa') +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('86c728fe3efda655a28c645714e4b8f4') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./autogen.sh + ./configure --prefix=/usr LIBS="-lm" + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |