mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
adding kaudiocreator
This commit is contained in:
parent
e3bacd446f
commit
33ecf980b6
36
kaudiocreator/PKGBUILD
Normal file
36
kaudiocreator/PKGBUILD
Normal file
@ -0,0 +1,36 @@
|
||||
#
|
||||
# Apps 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=kaudiocreator
|
||||
pkgver=1.2.90
|
||||
pkgrel=1
|
||||
pkgdesc="A program for ripping and encoding Audio-CDs, encoding files from disk"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.kde-apps.org/content/show.php/KAudioCreator?content=107645"
|
||||
license=('GPL')
|
||||
depends=('kdemultimedia-common' 'taglib' 'libdiscid')
|
||||
makedepends=('cmake' 'automoc4')
|
||||
install="${pkgname}.install"
|
||||
source=("http://www.kde-apps.org/CONTENT/content-files/107645-${pkgname}-${pkgver}.tar.bz2")
|
||||
md5sums=('3d86f19700ace837093a134876314862')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../${pkgname}-${pkgver} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/build
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
11
kaudiocreator/kaudiocreator.install
Normal file
11
kaudiocreator/kaudiocreator.install
Normal file
@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in New Issue
Block a user