|
发表于 2005-7-22 18:12:25
|
显示全部楼层
gtkpacman a frontend written in python, using pygtk
- # Contributor: Giovanni Scafora <linuxmania@gmail.com>
- pkgname=gtkpacman
- _svnrev=`LC_ALL=C svn export --force http://svn.gna.org/svn/$pkgname/trunk $pkgname | tail -n 1 | cut -d " " -f 3 | cut -d "." -f 1`
- pkgver=svn$_svnrev
- pkgrel=3
- pkgdesc="A frontend written in python, using pygtk, to pacman, the archlinux package manager"
- url="https://gna.org/projects/gtkpacman"
- license=""
- depends=('pygtk')
- makedepends=('subversion')
- conflicts=()
- replaces=()
- backup=()
- install=
- source=()
- md5sums=()
- build() {
- if [ ! -d $startdir/src/trunk ]; then
- echo "Fetching sources..."
- svn checkout http://svn.gna.org/svn/$pkgname/trunk
- else
- echo "Updating sources..."
- svn update http://svn.gna.org/svn/$pkgname/trunk
- fi
- cd $startdir/src/trunk
- make || return 1
- make DESTDIR=$startdir/pkg install || return 1
- rm -rf ../../$pkgname
- }
复制代码
http://bbs.archlinux.org/viewtopic.php?t=13844 |
|