Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PKGBUILD files
05-21-2012, 06:57 PM
Post: #261
RE: PKGBUILD files
Sopwith another game from the same list.
CGA style graphics (WOW!)

Code:
# Maintainer: theo - nl2stk
# Thanks to:
# Gadget3000 <gadget3000 at msn dot com>
# Daniel J Griffiths <ghost1227@archlinux.us>
# Stefan Husmann <stefan-husmann@t-online.de>

pkgname=sopwith  
pkgver=1.7.4
pkgrel=1
pkgdesc="Sidescrolling shoot 'em up game"
url="http://sdl-sopwith.sourceforge.net/"
license=('GPL')
depends=('sdl' 'gtk2')
source=("http://downloads.sourceforge.net/sdl-sopwith/sopwith-${pkgver}.tar.gz"
        $pkgname.desktop
        $pkgname.png
        ${pkgname}_16x16.xpm
        ${pkgname}_32x32.xpm)
md5sums=('f7bd8f754409aedd003b5b99d20f06dd' 'b0e4691849bc9c34135752110301ad05'\
         '8f94e8b8e03f0acce51c068130183fe1' '66b31f223d2374c4611eacd0152dcaf3'\
         'c3cea75b42339fdd095080edea1f3883')

build() {
    cd ${srcdir}/sopwith-${pkgver}
    ./configure --prefix=/usr --mandir=/usr/share/man --host=i386-pc-linux-gnu --build=i386-pc-linux-gnu
    make || return 1
    make DESTDIR=${pkgdir} install || return 1
  install -Dm 644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
  install -Dm 644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
  install -Dm 644 $srcdir/${pkgname}_32x32.xpm $pkgdir/usr/share/pixmaps/${pkgname}_32x32.xpm
  install -Dm 644 $srcdir/${pkgname}_16x16.xpm $pkgdir/usr/share/pixmaps/${pkgname}_16x16.xpm
}


Attached File(s)
.gz  sopstuff.tar.gz (Size: 23.49 KB / Downloads: 6)

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
05-22-2012, 04:22 AM (This post was last modified: 05-22-2012 07:24 AM by snacsnoc.)
Post: #262
RE: PKGBUILD files
Here's libevent, which was needed to compile tmux. I'll be shortly making a PKGBUILD file for tmux as well. I had to add
Code:
--no-check-certificate
to wget in /etc/makepkg.conf to allow the HTTPS URL.
Code:
# Maintainer: Easton E. <easton@geekness.eu>
# Thanks to Elias <elias@linexa.de>
    pkgname=libevent
    pkgver=1.4.14b
    pkgrel=1
    pkgdesc="An event notification library"
    license=('BSD')
    url="http://www.libevent.org"
    depends=('uclibc' 'python')
    source=("https://github.com/downloads/libevent/libevent/libevent-$pkgver-stable.tar.gz")
    md5sums=('a00e037e4d3f9e4fe9893e8a2d27918c')
    
    build() {
      cd $srcdir/$pkgname-$pkgver-stable
      sed -i 's#python#python2#' event_rpcgen.py
      ./configure --prefix=/usr --sysconfdir=/etc
      make || return 1
    }
    
    package() {
      cd $srcdir/$pkgname-$pkgver-stable
      make DESTDIR=$pkgdir install || return 1
    }
Find all posts by this user
Quote this message in a reply
05-22-2012, 05:07 AM
Post: #263
RE: PKGBUILD files
Damn, I will like to make pkgbuilds and I dont have idea...
Somebody can make the package of CorsixTH?, Here is the link http://code.google.com/p/corsix-th/
Is a opensource clone of the Theme Hospital game engine.
Charlie
Visit this user's website Find all posts by this user
Quote this message in a reply
05-22-2012, 05:31 AM
Post: #264
RE: PKGBUILD files
(05-22-2012 05:07 AM)CharlieBros Wrote:  Damn, I will like to make pkgbuilds and I dont have idea...
Somebody can make the package of CorsixTH?, Here is the link http://code.google.com/p/corsix-th/
Is a opensource clone of the Theme Hospital game engine.
Charlie

I found a PKGBUILD file [link] that I'm sure you could get working one way or another.
Find all posts by this user
Quote this message in a reply
05-22-2012, 07:22 AM
Post: #265
RE: PKGBUILD files
(05-22-2012 05:07 AM)CharlieBros Wrote:  Damn, I will like to make pkgbuilds and I dont have idea...

Always good to hear that someone would like to make some packages, it's fun and believe it or not in most cases not too difficult :]
Before last August I didn't make packages for any kind of linux distro (despite using linux for years). In an older topic I collected bits and pieces about creating such files, it's here: http://delicate-linux.net/forum/showthread.php?tid=160
There are small things changed (there is now no menugenerator-trigger needed), so most of the information should be a good start.

The title you ask for (corsix-th) is something that I can try to build.
All dependencies are in the repo, except for 1 (timidity++) so that's one I have to build too. It's a bit like a puzzle, collect all the pieces and put them together.

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
05-22-2012, 03:25 PM (This post was last modified: 05-22-2012 03:27 PM by tavvva.)
Post: #266
RE: PKGBUILD files
(05-22-2012 04:22 AM)snacsnoc Wrote:  Here's libevent, which was needed to compile tmux.

Code:
build() {
    cd $srcdir/$pkgname-$pkgver-stable
    sed -i 's#python#python2#' event_rpcgen.py
    ./configure --prefix=/usr --sysconfdir=/etc
    make || return 1
}
    
package() {
    cd $srcdir/$pkgname-$pkgver-stable
    make DESTDIR=$pkgdir install || return 1
}

The code above won't work ... our version of pacman doesn't support separate package section .... but an easy solution exists .... check the following and compare with the previous ....

Code:
build() {
    cd $srcdir/$pkgname-$pkgver-stable
    sed -i 's#python#python2#' event_rpcgen.py
    ./configure --prefix=/usr --sysconfdir=/etc
    make || return 1
    make DESTDIR=$pkgdir install || return 1
}

As you could notice ... I just removed few lines :]
Visit this user's website Find all posts by this user
Quote this message in a reply
05-22-2012, 03:29 PM
Post: #267
RE: PKGBUILD files
(05-22-2012 05:07 AM)CharlieBros Wrote:  Damn, I will like to make pkgbuilds and I dont have idea...
Somebody can make the package of CorsixTH?, Here is the link http://code.google.com/p/corsix-th/
Is a opensource clone of the Theme Hospital game engine.
Charlie

I liked that game :] I'll check that ....
Visit this user's website Find all posts by this user
Quote this message in a reply
05-22-2012, 06:47 PM (This post was last modified: 05-22-2012 06:49 PM by snacsnoc.)
Post: #268
RE: PKGBUILD files
(05-22-2012 03:25 PM)tavvva Wrote:  
(05-22-2012 04:22 AM)snacsnoc Wrote:  Here's libevent, which was needed to compile tmux.

Code:
build() {
    cd $srcdir/$pkgname-$pkgver-stable
    sed -i 's#python#python2#' event_rpcgen.py
    ./configure --prefix=/usr --sysconfdir=/etc
    make || return 1
}
    
package() {
    cd $srcdir/$pkgname-$pkgver-stable
    make DESTDIR=$pkgdir install || return 1
}

The code above won't work ... our version of pacman doesn't support separate package section .... but an easy solution exists .... check the following and compare with the previous ....

Code:
build() {
    cd $srcdir/$pkgname-$pkgver-stable
    sed -i 's#python#python2#' event_rpcgen.py
    ./configure --prefix=/usr --sysconfdir=/etc
    make || return 1
    make DESTDIR=$pkgdir install || return 1
}

As you could notice ... I just removed few lines :]
Ahh, I was just about to post back with the corrected version. After pacman -Ql libevent returning nothing, I knew something was wrong. Thanks for the fix.
Find all posts by this user
Quote this message in a reply
05-24-2012, 02:59 PM (This post was last modified: 05-24-2012 02:59 PM by tavvva.)
Post: #269
RE: PKGBUILD files
(03-18-2012 10:43 AM)nl2stk Wrote:  The famous battleships game for the console (with ncurses).

bs - seems ok ... in the repo now ...
Visit this user's website Find all posts by this user
Quote this message in a reply
05-24-2012, 03:13 PM
Post: #270
RE: PKGBUILD files
(03-18-2012 01:24 PM)nl2stk Wrote:  Another spreadsheet program for the CLI called 'sc'.
The patches etc are in the tarball.

I experience some issues with the 'sc' binary permissions .... it's some pacman's artificial intelligence that needs to be supressed ...
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:

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