mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-14 14:49:04 +08:00
Merge branch 'testing' of gitorious.org:chakra-packages/apps into testing
This commit is contained in:
commit
5e8658f5aa
35
kinky/PKGBUILD
Normal file
35
kinky/PKGBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# Maintainer: Radu Andries <admiral0@chakra-project.org>
|
||||
pkgname=kinky
|
||||
pkgver=1.0.0alpha1
|
||||
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-alpha1")
|
||||
md5sums=('04718d47867d004631af1773be4d3455')
|
||||
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
|
||||
|
||||
}
|
8
kinky/kinky.install
Normal file
8
kinky/kinky.install
Normal file
@ -0,0 +1,8 @@
|
||||
post_install() {
|
||||
echo "Adding kinky group"
|
||||
getent group kinky > /dev/null || groupadd -f -g 135 -r kinky
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
groupdel kinky
|
||||
}
|
29
pigz/PKGBUILD
Normal file
29
pigz/PKGBUILD
Normal file
@ -0,0 +1,29 @@
|
||||
# Maintainer: george <rpubaddr0 {at} gmail [dot] com>
|
||||
# Contributor: Frank Thieme <frank@fthieme.net>
|
||||
# Contributor: Laszlo Papp <djszapi2@gmail.com>
|
||||
|
||||
pkgname=pigz
|
||||
pkgver=2.3
|
||||
pkgrel=1
|
||||
pkgdesc='Parallel implementation of the gzip file compressor.'
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.zlib.net/pigz/'
|
||||
license=('GPL')
|
||||
depends=('zlib')
|
||||
source=("http://www.zlib.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
||||
md5sums=('042e3322534f2c3d761736350cac303f')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
sed -i s/"CFLAGS=".*/"CFLAGS=${CFLAGS}"/g Makefile
|
||||
sed -i 's/$(CC)\(.*\)$/$(CC)\1 -lm/g' Makefile
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
install -Dm755 pigz "${pkgdir}/usr/bin/pigz"
|
||||
ln -s /usr/bin/pigz "${pkgdir}/usr/bin/unpigz"
|
||||
install -Dm644 pigz.1 "${pkgdir}/usr/share/man/man1/pigz.1"
|
||||
install -Dm644 pigz.pdf "${pkgdir}/usr/share/doc/pigz/pigz.pdf"
|
||||
}
|
Loading…
Reference in New Issue
Block a user