|
AUR里面也有的(版本老了点),贴出让更多兄弟知道而已
pyxdg
- # Contributor: Mario A. Vazquez <mario_vazq@hotmail.com>
- pkgname=pyxdg
- pkgver=0.12
- pkgrel=1
- pkgdesc="Python library to access freedesktop.org standards"
- url="http://freedesktop.org/Software/pyxdg"
- license=""
- depends=('python>=2.4')
- makedepends=('sed')
- conflicts=()
- replaces=('python-xdg')
- backup=()
- install=
- source=(http://www.freedesktop.org/~lanius/$pkgname-$pkgver.tar.gz)
- #md5sums=('99bd9205472da04ceef493119d10f724')
- build() {
- cd $startdir/src/$pkgname-$pkgver
- # fix python path
- sed -i "s:/usr/bim/env python:/usr/bin/python:" setup.py
- chmod +x setup.py
- ./setup.py install --root=$startdir/pkg
- }
复制代码
smeg
- # Contributor: Mario A. Vazquez <mario_vazq@hotmail.com>
- pkgname=smeg
- pkgver=0.7
- pkgrel=1
- pkgdesc="Simple Menu Editor for Gnome (known as menueditor)"
- url="http://www.realistanew.com/projects/smeg/"
- license=""
- depends=('python' 'pyxdg>=0.9' 'pygtk')
- makedepends=('sed')
- conflicts=()
- replaces=('menueditor')
- backup=()
- install=
- source=(http://dev.realistanew.com/smeg/latest/$pkgname.tar.gz)
- #md5sums=('4f92c6d86714e10ff40ce95df2fab301')
- build() {
- cd $startdir/src/$pkgname-$pkgver
- #fix icon path on menueditor.desktop and gnome path on python script
- sed -i 's:smeg.png:/usr/share/pixmaps/smeg.png:' smeg.desktop
- sed -i 's:<MergeFile>""" + self.root_config:<MergeFile type="parent">""" + self.root_config:' lib/smeg/menu_handler.py
- chmod +x setup.py
- ./setup.py install --root=$startdir/pkg
- }
复制代码 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|