1.6.5-3: further improvements (thanks to sum01)
This commit is contained in:
7
.SRCINFO
7
.SRCINFO
@@ -1,17 +1,16 @@
|
||||
pkgbase = orion
|
||||
pkgdesc = QML/C++-written desktop client for Twitch.tv
|
||||
pkgver = 1.6.5
|
||||
pkgrel = 2
|
||||
pkgrel = 3
|
||||
url = https://github.com/alamminsalo/orion/
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
license = GPL3
|
||||
depends = mpv
|
||||
depends = qt5-svg
|
||||
depends = qt5-quickcontrols2
|
||||
depends = qt5-quickcontrols
|
||||
depends = qt5-graphicaleffects
|
||||
conflicts = orion-git
|
||||
source = https://github.com/alamminsalo/orion/archive/1.6.5.tar.gz
|
||||
source = orion-1.6.5.tar.gz::https://github.com/alamminsalo/orion/archive/1.6.5.tar.gz
|
||||
sha256sums = 6ec51b063b7025e7cc0aaf09e8a6f9943d0d0a44ba768d2bb2bbd0e6ee60f853
|
||||
|
||||
pkgname = orion
|
||||
|
21
PKGBUILD
21
PKGBUILD
@@ -1,31 +1,28 @@
|
||||
# Maintainer: Giovanni Harting <539@idlegandalf.com>
|
||||
# Contributor: sum01 <sum01@protonmail.com>
|
||||
# Contributor: David McInnis <davidm@eagles.ewu.edu>
|
||||
# Contributor: HabarNam <habarnam@gmail.com>
|
||||
|
||||
pkgname=orion
|
||||
pkgver=1.6.5
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="QML/C++-written desktop client for Twitch.tv"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/alamminsalo/orion/"
|
||||
license=('GPL')
|
||||
license=('GPL3')
|
||||
depends=('mpv' 'qt5-svg' 'qt5-quickcontrols2' 'qt5-quickcontrols' 'qt5-graphicaleffects')
|
||||
conflicts=("$pkgname-git")
|
||||
source=("https://github.com/alamminsalo/orion/archive/${pkgver//_/\-}.tar.gz")
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/alamminsalo/orion/archive/${pkgver}.tar.gz")
|
||||
sha256sums=('6ec51b063b7025e7cc0aaf09e8a6f9943d0d0a44ba768d2bb2bbd0e6ee60f853')
|
||||
|
||||
build() {
|
||||
cd $srcdir/${pkgname}-${pkgver//_/\-}
|
||||
cd "$srcdir/${pkgname}-${pkgver}"
|
||||
qmake CONFIG+=mpv
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/${pkgname}-${pkgver//_/\-}
|
||||
|
||||
sed -e "s|Icon=/usr/local/share/icons/orion.svg|Icon=orion|" -i distfiles/Orion.desktop
|
||||
|
||||
install -Dm644 distfiles/orion.svg ${pkgdir}/usr/share/icons/hicolor/scalable/apps/orion.svg
|
||||
install -Dm644 distfiles/Orion.desktop ${pkgdir}/usr/share/applications/Orion.desktop
|
||||
install -Dm755 orion ${pkgdir}/usr/bin/orion
|
||||
cd "$srcdir/${pkgname}-${pkgver}"
|
||||
install -Dm644 distfiles/orion.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/orion.svg"
|
||||
install -Dm644 distfiles/Orion.desktop "${pkgdir}/usr/share/applications/Orion.desktop"
|
||||
install -Dm755 orion "${pkgdir}/usr/bin/orion"
|
||||
}
|
||||
|
Reference in New Issue
Block a user