mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 14:47:15 +08:00
37 lines
928 B
Bash
37 lines
928 B
Bash
#
|
|
# Platform 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>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=cdemu-client
|
|
pkgver=1.4.0
|
|
pkgrel=1
|
|
pkgdesc="Simple command-line client for controlling cdemu-daemon"
|
|
arch=('i686' 'x86_64')
|
|
url="http://cdemu.sourceforge.net/"
|
|
license=('GPL')
|
|
depends=('python2' 'dbus-python' 'cdemu-daemon')
|
|
makedepends=('intltool')
|
|
conflicts=('cdemu')
|
|
source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('ce469f0660dfa4a9306faed00b3e6d6c')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
# python2 fix
|
|
sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' src/cdemu
|
|
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
make DESTDIR=$pkgdir install
|
|
}
|