mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:17:14 +08:00
60fa35ae28
* fix bzr * update udev to 165 * update gobject-introspection to 0.10.0
33 lines
1.0 KiB
Bash
33 lines
1.0 KiB
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
# Contributer: Joshua L. Blocher <verbalshadow@gmail.com>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=bzr
|
|
pkgver=2.2.2
|
|
pkgrel=1
|
|
pkgdesc="A decentralized revision control system (bazaar)"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.bazaar-vcs.org"
|
|
license=('GPL')
|
|
depends=('python2')
|
|
source=(http://launchpad.net/bzr/2.2/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz
|
|
bzr-2.2.2-python-2.7.patch)
|
|
md5sums=('d1bfa2fd1aad282c423c78d62ebacb21'
|
|
'0f0d8e0d31032cde59565b6c74a37e41')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
patch -Np0 -i ${startdir}/bzr-2.2.2-python-2.7.patch || return 1
|
|
sed -i 's|man/man1|share/man/man1|' setup.py
|
|
python2 setup.py install --prefix=/usr --root=${pkgdir}
|
|
|
|
# bash-completion
|
|
install -D -m644 contrib/bash/bzr ${pkgdir}/etc/bash_completion.d/bzr
|
|
}
|