by iridium » Wed Oct 08, 2014 10:39 pm
$this->bbcode_second_pass_code('', '
tinyfugue 5.0b8-2 (Wed Jul 30 02:11:36 EEST 2008)
This package is orphaned
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> tinyfugue dependencies:
- pcre (already installed)
- zlib (already installed)
- ncurses (already installed)
- openssl (already installed)
==> Continue building tinyfugue ? [Y/n]
==> -----------------------------------
==>
==> Building and installing package
==> ERROR: tinyfugue is not available for the 'armv6h' architecture.
Note that many packages may need a line added to their PKGBUILD
such as arch=('armv6h').
==> ERROR: Makepkg was unable to build tinyfugue.
')
After switching arch to 'armv6h' as suggested:
$this->bbcode_second_pass_code('', '
# Contributor: Lex Black <autumn-wind at web dot de>
# Contributor: Blake Smith <blakesmith0@gmail.com>
# Contributor: Nathan Jones <nathanj@insightbb.com>
pkgname=tinyfugue
pkgver=5.0b8
pkgrel=2
arch=('armv6h')
pkgdesc="flexible, screen-oriented MUD client, for use with any type of MUD"
url="http://tinyfugue.sourceforge.net/"
license=("GPL")
depends=(pcre zlib ncurses openssl)
source=("http://downloads.sourceforge.net/sourceforge/tinyfugue/tf-50b8.tar.gz"
"01_pcre.patch")
md5sums=('3e994e791966d274f63b0e61abf2ef59'
'9278f7ee705bb27856db131d84d607a4')
prepare() {
cd $srcdir/tf-50b8
patch -Np1 -i $srcdir/01_pcre.patch
}
build() {
cd $srcdir/tf-50b8
./configure --prefix=/usr --enable-termcap=ncurses
make
}
package() {
cd $srcdir/tf-50b8
mkdir $pkgdir/usr
make prefix=$pkgdir/usr install
}
')
had to run yaourt with sudo because yaourt complained about finding fakeroot with non-root user
$this->bbcode_second_pass_code('', '
==> Continue building tinyfugue ? [Y/n]
==> -----------------------------------
==>
==> Building and installing package
==> WARNING: Building package as root is dangerous.
Please run yaourt as a non-privileged user.
==> Making package: tinyfugue 5.0b8-2 (Thu Oct 9 01:31:43 EEST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading tf-50b8.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 392 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 371 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 702k 100 702k 0 0 510k 0 0:00:01 0:00:01 --:--:-- 3564k
-> Found 01_pcre.patch
==> Validating source files with md5sums...
tf-50b8.tar.gz ... Passed
01_pcre.patch ... Passed
==> Extracting sources...
-> Extracting tf-50b8.tar.gz with bsdtar
==> Starting prepare()...
/tmp/yaourt-tmp-root/aur-tinyfugue/./PKGBUILD: line 22: patch: command not found
==> ERROR: A failure occurred in prepare().
Aborting...
==> ERROR: Makepkg was unable to build tinyfugue.
')
That's the far as I got.