PKGBUILD

PKGBUILD to say that Arch is the best!

Untested (wow, it's been a while since I've written a PKGBUILD from scratch).

pkgname=best_script_in_the_world
pkgver=1.0
pkgrel=1
url="http://www.archlinux.org"
arch=('i686' 'x86_64')
license=('GPL')
source=()
md5sums=()

build()
{
    mkdir -p $startdir/pkg/usr/bin/
    echo #!/bin/sh >> $startdir/pkg/usr/bin/best_script.sh
    echo >> $startdir/pkg/usr/bin/best_script.sh
    echo 'echo "Arch is the best!"' >> $startdir/pkg/usr/bin/best_script.sh
   
    chmod a+x $startdir/pkg/usr/bin/best_script.sh
}

~ Cerebral, 2008-05-14 13:59:31

Kernel Module PKGBUILD + Sources

I've created a PKGBUILD for the kernel module now. I had to create a tar.gz with the source files, sorry.

http://www.file-upload.net/download-851633/aitb-kernel.tar.gz.html

~ CuleX, 2008-05-15 11:26:20