rosegarden: update to 18.06, switch to pacman hooks, #73

This commit is contained in:
Francesco Marinucci 2018-12-05 15:34:21 +01:00
parent dc7790cf19
commit 1be284d3ec
2 changed files with 4 additions and 7 deletions

View File

@ -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
} }

View File

@ -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: