Try and add the Arch stable package
This commit is contained in:
parent
7dc9e9893b
commit
69ea0fb3ee
1
packages/arch/KShare-Stable/.gitignore
vendored
1
packages/arch/KShare-Stable/.gitignore
vendored
@ -1 +0,0 @@
|
||||
PKGBUILD.sample
|
27
packages/arch/KShare-Stable/PKGBUILD.sample
Normal file
27
packages/arch/KShare-Stable/PKGBUILD.sample
Normal file
@ -0,0 +1,27 @@
|
||||
# Maintainer: ArsenArsen <arsenarsentmc@outlook.com>
|
||||
pkgname=kshare
|
||||
pkgver=;VER;
|
||||
pkgrel=1
|
||||
conflicts=("kshare-git")
|
||||
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#tag=v${pkgver})
|
||||
sha1sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/KShare"
|
||||
git submodule update --init --recursive
|
||||
qmake
|
||||
make -j$(($(nproc) + 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/KShare"
|
||||
mkdir -p "$pkgdir/usr/bin"
|
||||
install ./KShare "$pkgdir/usr/bin/kshare"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user