Commit 9373ff7a authored by camilo higuita's avatar camilo higuita

remove unused stuff

parent cebde704
# Package
Package for some distributions
## Archlinux Distributions
archlinux, manjaro ...
My packaging configuration is done on Manjaro KDE, which provides two options for Qmake and CMake. The version number is more casual, after all, not officially released. For different scenarios, simply run makepkg -p PKGBUILD.qmake or makepkg -p PKGBUILD.cmake
## Debian Distributions
debian, ubuntu, KDE neon ...
My packaging configuration is done on KDE neon User Edition, using the default configuration CMake build package, first create an initial configuration through dh_make, then modify debian/control, and finally package with dpkg-buildpackage -rfakeroot.
Please note: Place the debian directory in the root directory of the vvave source code, such as vvave/, and run it here dpkg-buildpackage -rfakeroot
\ No newline at end of file
# Maintainer: kaiman <kaisfm at sohu dot com>
pkgname=vvave
pkgver=git
pkgrel=0
pkgdesc='Tiny Qt Music Player to keep your favorite songs at hand'
arch=(x86_64)
url='https://vvave.kde.org/'
license=(GPL3)
depends=(ki18n knotifications qt5-webengine qt5-websockets taglib)
makedepends=(extra-cmake-modules git python)
optdepends=('youtube-dl: youtube support')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}" 'babe-qt')
replaces=('babe-qt')
source=('git://anongit.kde.org/vvave.git')
sha256sums=('SKIP')
#pkgver() {
# cd $pkgname
# git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/v//g'
#}
prepare() {
rm -rf $pkgname
git clone --recurse-submodules $source
mkdir -p build
}
build() {
cd build
cmake ../$pkgname -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
# Maintainer: kaiman <kaisfm at sohu dot com>
pkgname=vvave
pkgver=git
pkgrel=0
pkgdesc='Tiny Qt Music Player to keep your favorite songs at hand'
arch=(x86_64)
url='https://vvave.kde.org/'
license=(GPL3)
depends=(ki18n knotifications qt5-webengine qt5-websockets taglib)
makedepends=(git python)
optdepends=('youtube-dl: youtube support')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}" 'babe-qt')
replaces=('babe-qt')
source=('git://anongit.kde.org/vvave.git')
sha256sums=('SKIP')
#pkgver() {
# cd $pkgname
# git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/v//g'
#}
prepare() {
rm -rf $pkgname
git clone --recurse-submodules $source
mkdir -p $pkgname/build
}
build() {
cd $pkgname/build
qmake -o Makefile ../vvave.pro
make
}
package() {
cd $pkgname/build
make INSTALL_ROOT="$pkgdir" install
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment