You are not logged in.
Pages: 1
I download this
http://firefly.idv.tw/setfont-xft/fontt … 9.6.tar.gz
Its installation style are
# make
# make install
uninstall is
# make uninstall
Quaere me at build()In should how to write PKGBUILD and install
Offline
Read over the abs information here: http://www.archlinux.org/docs/en/guide/ … .html#SEC5.
After you run abs, there are example files for making your own package, usually found in /var/abs: PKGBUILD.proto and install.proto.
Follow the link below, sign up, and accept one promotional offer. If I can get five suckers (err... friends) to do this, I'll get a free iPod. Then you too can try to get a free iPod. Thanks! http://www.freeiPods.com/?r=11363142
Offline
my PKGBUILD:
# Contributor: Neil Lin <neil@vip.ulr.com.tw>
PACKAGER="Neil Lin <peil@vip.ulr.com.tw>"
pkgname=xttmgr
pkgver=0.9.6
pkgrel=1
pkgdesc="Fonts install Manager"
url="http://firefly.idv.tw/"
depends=('freetype2')
makedepends=()
conflicts=()
replaces=()
backup=()
install= "xttmgr.install"
source=(http://firefly.idv.tw/setfont-xft/fonttools/SRC/$pkgname-$pkgver.tar.gz)
md5sums=()build() {
cd $startdir/src/$pkgname-$pkgver
make PREFIX=$startdir/pkg/usr
make PREFIX=$startdir/pkg/usr install
}
makepkg error
[root@localhost xttmgr]# makepkg
/usr/bin/makepkg: line 13: xttmgr.install: command not found
==> Making package: xttmgr (Sat Mar 27 01:35:20 UTC 2004)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Using local copy of xttmgr-0.9.6.tar.gz
==> WARNING: MD5sums are missing or incomplete. Cannot verify source integrity.==> Extracting Sources...
==> tar --use-compress-program=gzip -xf xttmgr-0.9.6.tar.gz
==> Starting build()...
gcc -Wall -pedantic -I/usr/include/freetype2 -c -o xttmgr.o xttmgr.c
gcc -o xttmgr xttmgr.o -L/usr/lib -lfreetype -lz
install -s -m 755 xttmgr /usr/sbin/xttmgr
==> Compressing man pages...
==> Stripping debugging symbols from libraries...
==> Stripping symbols from binaries...
==> Generating .PKGINFO file...
==> Generating .FILELIST file...
==> Compressing package...
==> Finished making: xttmgr (Sat Mar 27 01:35:21 UTC 2004)
[root@localhost xttmgr]# makepkg
/usr/bin/makepkg: line 13: xttmgr.install: command not found
==> Making package: xttmgr (Sat Mar 27 01:37:43 UTC 2004)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Using local copy of xttmgr-0.9.6.tar.gz
==> WARNING: MD5sums are missing or incomplete. Cannot verify source integrity.==> Extracting Sources...
==> tar --use-compress-program=gzip -xf xttmgr-0.9.6.tar.gz
==> Starting build()...
gcc -Wall -pedantic -I/usr/include/freetype2 -c -o xttmgr.o xttmgr.c
gcc -o xttmgr xttmgr.o -L/usr/lib -lfreetype -lz
install -s -m 755 xttmgr /usr/sbin/xttmgr
==> Compressing man pages...
==> Stripping debugging symbols from libraries...
==> Stripping symbols from binaries...
==> Generating .PKGINFO file...
==> Generating .FILELIST file...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Compressing package...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Finished making: xttmgr (Sat Mar 27 01:37:43 UTC 2004)
Offline
is okey
PACKAGER="Neil Lin <peil@vip.ulr.com.tw>"
pkgname=xttmgr
pkgver=0.9.6
pkgrel=1
pkgdesc="Fonts install Manager"
url="http://firefly.idv.tw/"
depends=('freetype2')
makedepends=()
conflicts=()
replaces=()
backup=()
install= "xttmgr.install"
source=(http://firefly.idv.tw/setfont-xft/fonttools/SRC/$pkgname-$pkgver.tar.gz)
md5sums=()build() {
cd $startdir/src/$pkgname-$pkgver
mkdir -p $startdir/pkg/usr/sbin
make PREFIX=$startdir/pkg/usr
cp $startdir/src/$pkgname-$pkgver/xttmgr $startdir/pkg/usr/sbin
}
Offline
Pages: 1