Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PKGBUILD files
09-13-2011, 09:38 AM
Post: #21
RE: PKGBUILD files
Clearlooks is atheme well known for other DM/WM. In this package there are 3 variants of this theme for IceWM:
Iceclearlooks
Iceclearlooks+
Iceclearlooks2

Code:
#Contributor: theo - nl2stk
#Thanks to: Evgenij Vdovin
pkgname=iceclearlooks2+-icewm-themes
pkgver=1.0
pkgrel=1
pkgdesc="IceClearlooks, IceClearlooks2 and IceClearlooks+ Icewm themes"
license=('LGPL')
url="http://www.box-look.org/index.php?xcontentmode=7311"
depends=('icewm')
source=(
    http://www.box-look.org/CONTENT/content-files/96346-IceClearlooks.tar.gz
    http://www.box-look.org/CONTENT/content-files/107745-IceClearlooks2.tar.gz
    http://www.box-look.org/CONTENT/content-files/107747-IceClearlooks+.tar.gz
)
md5sums=(
    '8f41ba5a0c42fd442de8296f67f9fdd0'
    '927e70212735f2e9d652a635355bd8c9'
    'ab3b3216003421b0ee2dae743cbee6e1'
)

build(){
    install -d ${pkgdir}/usr/share/icewm/themes
    mv ${srcdir}/IceClearlooks{,2,+} ${pkgdir}/usr/share/icewm/themes
}

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
09-13-2011, 01:04 PM (This post was last modified: 09-13-2011 01:42 PM by nl2stk.)
Post: #22
RE: PKGBUILD files
Vectoroids a nice clone of the classic Asteroids game.
I don't know the min. req. but it runs smooth on my old Toshiba P1, 48mb.
The package/compile is i386, so that shouldn't be a problem :]

Code:
# Maintainer: theo - nl2stk
# Thanks to: Daniel J Griffiths
pkgname=vectoroids
pkgver=1.1.0
pkgrel=1
pkgdesc="Vectoroids is based on the X-Window PDA game 'Agendaroids,'"
depends=('sdl_mixer' 'sdl_image')
source=(ftp://ftp.billsgames.com/unix/x/vectoroids/src/vectoroids-1.1.0.tar.gz)
license=('GPL2')
url="http://www.newbreedsoftware.com/vectoroids/"
md5sums=('c63ce56b09aa7da9a6e95d804e9ee314')

build() {
  cd $srcdir/$pkgname-$pkgver
  mkdir -p $pkgdir/usr/bin
  make PREFIX=/usr DATA_PREFIX=/usr/share/vectoroids/ || return 1
  make PREFIX=$pkgdir/usr install
}

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
09-14-2011, 06:11 PM
Post: #23
RE: PKGBUILD files
I'm gonna check that tonight ...
Visit this user's website Find all posts by this user
Quote this message in a reply
09-14-2011, 10:32 PM (This post was last modified: 09-14-2011 10:41 PM by tavvva.)
Post: #24
RE: PKGBUILD files
vectoroids ....

even if missing arch can lead to i386, it's always safer to specify it explicitly.

It's better to patch the Makefile with ...

sed -i 's/CFLAGS=/CFLAGS=-march=i386 /g' Makefile

This i386 / i686 related stuff is not important in Arch, because i686 is backward compatible with i386. But it doesn't work the opposite way ... therefore we have to care about the target instruction set and change the PKGBUILDs taken from Arch's repository accordingly in order to force the i386 insruction set. FYI i386 builds are very often faster and smaller than i486 and i586 builds.... what a magic! Don't ask me why ... I couldn't believe that either ...
Visit this user's website Find all posts by this user
Quote this message in a reply
09-15-2011, 11:32 AM
Post: #25
RE: PKGBUILD files
(09-14-2011 10:32 PM)tavvva Wrote:  vectoroids ....

even if missing arch can lead to i386, it's always safer to specify it explicitly.

It's better to patch the Makefile with ...

sed -i 's/CFLAGS=/CFLAGS=-march=i386 /g' Makefile

This i386 / i686 related stuff is not important in Arch, because i686 is backward compatible with i386. But it doesn't work the opposite way ... therefore we have to care about the target instruction set and change the PKGBUILDs taken from Arch's repository accordingly in order to force the i386 insruction set. FYI i386 builds are very often faster and smaller than i486 and i586 builds.... what a magic! Don't ask me why ... I couldn't believe that either ...
I'll keep that in mind :]
I'm still learning and every day a bit more..

About the builds. It sounds a bit like the stories back in the eighties.
The Acorn Archimedes arrived with a RISC processor, lesser instructions to make it faster than the regular CISC processors. It looks a bit like the same thing :]

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
09-19-2011, 05:01 PM
Post: #26
RE: PKGBUILD files
OpenBox ...

Code:
# Maintainer: Theo - nl2stk

pkgname=openbox
pkgver=3.4.5
pkgrel=1
pkgdesc="OpenBox, a lightweight window manager for X11"
url="http://icculus.org/openbox/"
license=('GPL')
depends=('libxml2'
'libxrandr'
'libxfont'
'pango'
'libxext'
'glib2'
'libxcursor')
source=(http://www.icculus.org/openbox/releases/$pkgname-$pkgver.tar.gz)
md5sums=('06e007ef96ab3f7f4bbc34c4464af6c2')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --build=$CHOST --host=$CHOST
  make || return 1
  make DESTDIR=${pkgdir}/ install || return 1
}

1.)
Static libraries needs to be removed with --disable-static configure switch.

2.)
Libtool stuff needs to be removed (in loop or one by one)

Here's the loop example ...
Code:
# Remove the libtool stuff
  find ${pkgdir} -depth | grep "\.la" | while read libtool_file ;do
    rm -f $libtool_file
  done
Visit this user's website Find all posts by this user
Quote this message in a reply
09-20-2011, 05:23 PM
Post: #27
RE: PKGBUILD files
Another classic game called Digger.

Code:
# Maintainer: theo - nl2stk
# Thanks to: Daniel J Griffiths

pkgname=digger
pkgver=20020314
pkgrel=1
pkgdesc="the digger game, cloned and remastered with additional features"
url="http://www.digger.org"
license=('GPL')
depends=('sdl' 'zlib')
source=(http://www.digger.org/digger-20020314.tar.gz)
md5sums=('a16e90a49ed8ea90099b254d3ef5edfa')

build() {
    cd ${srcdir}/${pkgname}-${pkgver}
    
    make -f Makefile.sdl
    install -D digger ${pkgdir}/usr/bin/digger

}

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
09-21-2011, 11:09 AM
Post: #28
RE: PKGBUILD files
Abe's Amazing Adventure. A scrolling, platform, jumping, key collecting, ancient pyramid exploring game.

Code:
# Maintainer: theo - nl2stk
# Thanks to: Daniel J Griffiths

pkgname=abe
pkgver=1.1
pkgrel=1
pkgdesc="A scrolling, platform-jumping, key-collecting, ancient pyramid exploring game."
url="http://abe.sourceforge.net"
license=('GPL')
depends=('sdl_mixer' 'libxmu' 'libxi')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('5537920e1746708e1a631d84d3500f5c')

build() {
    cd $srcdir/$pkgname-$pkgver

    # Fix base paths
    sed 's|BASE_DIR .|BASE_DIR /usr/share/abe|' -i src/Directories.h

    ./configure --prefix=/usr --host=$CHOST --build=$CHOST
    make || return 1
    install -m755 -D src/abe $pkgdir/usr/bin/abe
    mkdir -p $pkgdir/usr/share/{abe,applications}
    cp -r images/ maps/ sounds/ $pkgdir/usr/share/abe
}

Compiling time: just a couple of minutes on my old toshiba :]

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
09-22-2011, 10:16 PM (This post was last modified: 09-23-2011 11:34 AM by nl2stk.)
Post: #29
RE: PKGBUILD files
Dosbox 0.74

This package contains a MS-DOS emulator.
Sound is not supported (yet) in this PKGBUILD, but it's good enough to run several programs.

Code:
# Maintainer: theo - nl2stk
pkgname=dosbox
pkgver=0.74
pkgrel=1
pkgdesc="A MS-DOS emulator"
url="http://dosbox.sourceforge.net/"
license=('GPL')
depends=('ncurses'
'sdl'
'sdl_image'
'sdl_net'
'libpng'
'zlib'
)
source=(http://downloads.sourceforge.net/sourceforge/dosbox/$pkgname-$pkgver.tar.gz)
md5sums=('b9b240fa87104421962d14eee71351e8')

build()
{
  cd ${srcdir}/$pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc/dosbox --host=$CHOST --build=$CHOST
  chmod 755 $startdir/pkg/usr/man/man1
  make || return 1
  make prefix=${pkgdir}/usr install
}

EDIT: Some sound works, my fault :]
I think/believe that compressed sound doesn't work. (SDL_sound is not in this package)

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
09-30-2011, 03:51 PM
Post: #30
RE: PKGBUILD files
CenterIM, a text-based messenger for MSN/Yahoo/Jabber/ICQ etc..

Code:
# Maintainer: theo - nl2stk

pkgname=centerim
pkgver=4.22.4
pkgrel=1
pkgdesc="A text-based messenger for MSN/Yahoo/ICQ/etc"
url="http://www.centerim.org"
license=('GPL')
depends=('libjpeg')
source=("http://www.centerim.org/download/releases/$pkgname-$pkgver.tar.gz")
md5sums=('7ddf3b2485b916c8e7ff63642dcdeb27')

build() {
  cd $startdir/src/$pkgname-$pkgver

  ./configure --prefix=/usr --build=$HOST --host=$HOST  --with-ssl --with-openssl --enable-locales-fix

  make || return 1
  make DESTDIR=$startdir/pkg install
}

It takes a while to compile..

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | DeLi(cate) Linux | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication