mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
rosegarden: update to 18.06, switch to pacman hooks, #73
This commit is contained in:
parent
dc7790cf19
commit
1be284d3ec
@ -1,5 +1,5 @@
|
|||||||
pkgname=rosegarden
|
pkgname=rosegarden
|
||||||
pkgver=17.04
|
pkgver=18.06
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="MIDI/audio sequencer and notation editor"
|
pkgdesc="MIDI/audio sequencer and notation editor"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@ -16,10 +16,10 @@ optdepends=('cups: printing support'
|
|||||||
categories=('multimedia')
|
categories=('multimedia')
|
||||||
install=$pkgname.install
|
install=$pkgname.install
|
||||||
source=($pkgname-$pkgver::http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
|
source=($pkgname-$pkgver::http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
|
||||||
sha256sums=('988a6141c5b0a8e85c029f650de78bf57100c4d778c22d0194b0692584640ece')
|
sha256sums=('a777c852c8905df7efbadcebea7fa7300d8bf1865ed581af20518a8535400c13')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd $pkgname-$pkgver
|
||||||
|
|
||||||
cmake ./ -DBUILD_TESTING=OFF \
|
cmake ./ -DBUILD_TESTING=OFF \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr
|
-DCMAKE_INSTALL_PREFIX=/usr
|
||||||
@ -27,7 +27,7 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd $pkgname-$pkgver
|
||||||
|
|
||||||
make DESTDIR="$pkgdir/" install
|
make DESTDIR="$pkgdir/" install
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
post_install() {
|
post_install() {
|
||||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
|
||||||
update-mime-database usr/share/mime &> /dev/null
|
update-mime-database usr/share/mime &> /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -10,5 +9,3 @@ post_upgrade() {
|
|||||||
post_remove() {
|
post_remove() {
|
||||||
post_install
|
post_install
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim:set ts=2 sw=2 et:
|
|
||||||
|
Loading…
Reference in New Issue
Block a user