You are not logged in.
Pages: 1
I've read all that I can find, but due to my inexperience with some terminology and general n00bness, I can't seem to get my head around abs. I see people listing code like this for pkgbuilds:
pkgname=submount
pkgver=0.9
pkgrel=1
pkgdesc="System for automatic mounting/unmounting of removable devices"
url="http://submount.sourceforge.net"
depends=('glibc')
install=install.submount
source=(http://belnet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('f6abac328dbfb265eff18561065575c6')
build() {
cd $startdir/src/$pkgname-$pkgver/subfs-$pkgver
make || return 1
install -D -m644 -o 0 -g 0 $startdir/src/$pkgname-$pkgver/subfs-$pkgver/subfs.ko
$startdir/pkg/lib/modules/`uname -r`/kernel/fs/subfs/subfs.ko
cd $startdir/src/$pkgname-$pkgver/submountd-$pkgver
./configure
make || return 1
make DESTDIR=$startdir/pkg install
}
Now I'm sure the answer's right in front of my face, but humor me. I know I need to copy and paste this somewhere (I don't know where), and then do something involving makepkg. What exactly do I need to do to use makepkg?
Offline
It can be done in any directory. Myself, I make a new directory in /var/abs/local/<my-pkg>.
In the new directory paste your pkgbuild codes in a file and name it: "PKGBUILD". In same directory run "makepkg". If the pkgbuild is fine, that's all.
To install new local package:
pacman -A <pkg-name-x.x-x.pkg.tar.gz>
To remove:
pacman -R <pkg-name>
Markku
Offline
Pages: 1