mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 19:04:37 +08:00
36 lines
994 B
Bash
36 lines
994 B
Bash
|
# Maintainer: Radu Andries <admiral0@chakra-project.org>
|
||
|
pkgname=kinky
|
||
|
pkgver=1.0.0alpha2
|
||
|
pkgrel=1
|
||
|
epoch=
|
||
|
pkgdesc="Builds packages inside chroots"
|
||
|
arch=(any)
|
||
|
url="http://chakra-project.org/wiki/index.php?title=Kinky"
|
||
|
license=('GPL2')
|
||
|
groups=('chakra-devel')
|
||
|
depends=('python2' 'pacman' 'tar' 'pigz' 'python2-parched' 'python2-decoratortools')
|
||
|
source=("https://gitorious.org/chakra-packages/kinky/archive-tarball/kinky-alpha2")
|
||
|
md5sums=('b79ab8ebf14a09eb6c2ba2d6c056450c')
|
||
|
install=kinky.install
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}/chakra-packages-kinky
|
||
|
./autogen.sh
|
||
|
./configure --prefix=/usr --sysconfdir=/etc
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd ${srcdir}/chakra-packages-kinky
|
||
|
make DESTDIR="$pkgdir/" install
|
||
|
ln -s chakra-apps-x86_64.cfg $pkgdir/etc/kinky/default.cfg
|
||
|
|
||
|
# link kinky to consolehelper (deps: usermode)
|
||
|
#ln -s consolehelper $pkgdir/usr/bin/kinky
|
||
|
|
||
|
# create default temporary directories
|
||
|
mkdir -p $pkgdir/var/lib/kinky
|
||
|
mkdir -p $pkgdir/var/cache/kinky
|
||
|
|
||
|
}
|