Add an icon
This commit is contained in:
parent
bca220e008
commit
d9f339479a
@ -1,28 +0,0 @@
|
|||||||
# Maintainer: ArsenArsen <arsenarsentmc@outlook.com>
|
|
||||||
pkgname=kshare-git
|
|
||||||
pkgver=cfdecf06cedd9002b2fb4e1ef8df67c72fc540f94
|
|
||||||
pkgrel=1
|
|
||||||
conflicts=("kshare")
|
|
||||||
pkgdesc="A ShareX inspired cross platform utility written with Qt."
|
|
||||||
arch=('i686' 'x86_64')
|
|
||||||
url="https://github.com/ArsenArsen/KShare"
|
|
||||||
license=('MIT')
|
|
||||||
provides=('kshare=$pkgver')
|
|
||||||
depends=(qt5-base qt5-x11extras xcb-util-cursor ffmpeg libxfixes)
|
|
||||||
source=(git+https://github.com/ArsenArsen/KShare.git)
|
|
||||||
sha1sums=('SKIP')
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "${srcdir}/KShare"
|
|
||||||
git checkout dev
|
|
||||||
git submodule update --init --recursive
|
|
||||||
qmake
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "${srcdir}/KShare"
|
|
||||||
mkdir -p "$pkgdir/usr/bin"
|
|
||||||
install ./KShare "$pkgdir/usr/bin/kshare"
|
|
||||||
}
|
|
||||||
|
|
@ -25,7 +25,7 @@ package() {
|
|||||||
mkdir -p "$pkgdir/usr/bin"
|
mkdir -p "$pkgdir/usr/bin"
|
||||||
install ./KShare "$pkgdir/usr/bin/kshare"
|
install ./KShare "$pkgdir/usr/bin/kshare"
|
||||||
mkdir -p "$pkgdir/usr/share/pixmaps"
|
mkdir -p "$pkgdir/usr/share/pixmaps"
|
||||||
install "${srcdir}/KShare/icons/icon.png"
|
install "${srcdir}/KShare/icons/icon.png" "$pkgdir/usr/share/pixmaps"
|
||||||
mkdir -p "$pkgdir/usr/share/applications"
|
mkdir -p "$pkgdir/usr/share/applications"
|
||||||
install KShare.desktop "$pkgdir/usr/share/applications"
|
install KShare.desktop "$pkgdir/usr/share/applications"
|
||||||
}
|
}
|
||||||
|
@ -23,5 +23,9 @@ package() {
|
|||||||
cd "${srcdir}/KShare"
|
cd "${srcdir}/KShare"
|
||||||
mkdir -p "$pkgdir/usr/bin"
|
mkdir -p "$pkgdir/usr/bin"
|
||||||
install ./KShare "$pkgdir/usr/bin/kshare"
|
install ./KShare "$pkgdir/usr/bin/kshare"
|
||||||
|
mkdir -p "$pkgdir/usr/share/pixmaps"
|
||||||
|
install "${srcdir}/KShare/icons/icon.png" "$pkgdir/usr/share/pixmaps"
|
||||||
|
mkdir -p "$pkgdir/usr/share/applications"
|
||||||
|
install KShare.desktop "$pkgdir/usr/share/applications"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user