You are not logged in.
fireflysung.ttf (AR PL New Sung) -> PKGBUILD
# Maintainer: Neil Lin <neil@vip.url.com.tw>
pkgname=fireflysung.ttf
pkgver=1.2.0
pkgrel=1
pkgdesc="AR PL New Sung - the Open Source Chinese Font"
url="http://firefly.idv.tw/test/Forum.php?Board=1"
license="ARPHIC PUBLIC LICENSE"
depends=('x-server')
makedepends=()
conflicts=()
replaces=()
backup=()
groups=()
install=install.fireflysung
source=(ftp://cle.linux.org.tw/pub2/fonts/FireFly/$pkgname.gz)
md5sums=('b3632a069d855956e8f2c6b8576d42a1')
build() {
cd $startdir/src/
mkdir -p $startdir/pkg/usr/X11R6/lib/X11/fonts/TTF
cp *.ttf $startdir/pkg/usr/X11R6/lib/X11/fonts/TTF
}
fireflysung.ttf -> install.fireflysung
# This is a default template for a post-install scriptlet. You can
# remove any functions you don't need (and this header).
# arg 1: the new package version
pre_install() {
/bin/true
}
# arg 1: the new package version
post_install() {
echo -n "Updating font cache... "
/usr/bin/fc-cache
cd /usr/X11R6/lib/X11/fonts/TTF
/usr/X11R6/bin/mkfontdir
/usr/X11R6/bin/mkfontscale
cp ../encodings/encodings.dir ./encodings.dir
echo "done."
}
# arg 1: the new package version
# arg 2: the old package version
pre_upgrade() {
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
/bin/true
}
# arg 1: the old package version
pre_remove() {
/bin/true
}
# arg 1: the old package version
post_remove() {
/bin/true
}
op=$1
shift
$op $*
stardict -> PKGBUILD
# Maintainer: Neil Lin <neil@vip.url.com.tw>
pkgname=stardict
pkgver=2.4.4
pkgrel=1
pkgdesc="StarDict is a Cross-Platform and international dictionary written in Gtk2.
It has powerful features such as 'Glob-style pattern matching', 'Scan selection word,'
'Fuzzy query,' etc."
url="http://stardict.sourceforge.net/"
license="GPL"
depends=('gtk2')
makedepends=('perlxml')
conflicts=()
replaces=()
backup=()
install=
source=(http://belnet.dl.sourceforge.net/sourceforge/stardict/$pkgname-$pkgver.tar.bz2)
md5sums=('e1c2df19fc854f81bdec4b3409eb95e1')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
make || return 1
make DESTDIR=$startdir/pkg install
}
Offline