Update arch packages
This commit is contained in:
parent
b7edd8a223
commit
45f07cfb99
@ -31,8 +31,8 @@ build() {
|
||||
package() {
|
||||
cd KShare
|
||||
install -Dm755 KShare "$pkgdir/usr/bin/kshare"
|
||||
install -Dm644 icons/icon.png "$pkgdir/usr/share/pixmaps/kshare.png"
|
||||
install -Dm644 KShare.desktop "$pkgdir/usr/share/applications"
|
||||
install -Dm644 icons/icon.png "$pkgdir/usr/share/pixmaps/KShare.png"
|
||||
install -Dm644 KShare.desktop "$pkgdir/usr/share/applications/KShare.desktop"
|
||||
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
if [[ `git rev-parse --abbrev-ref HEAD 2>/dev/null` == "dev" ]]
|
||||
then
|
||||
HASH=`git rev-parse --verify HEAD`
|
||||
sed "s/;COMMIT;/c$HASH/g" /media/arsen/Data/Packages/KShare/PKGBUILD.sample > /media/arsen/Data/Packages/KShare/PKGBUILD
|
||||
cd /media/arsen/Data/Packages/KShare
|
||||
makepkg --printsrcinfo > .SRCINFO
|
||||
git stage .
|
||||
git commit -m "UPDATE $HASH"
|
||||
git push
|
||||
fi
|
||||
|
@ -1,15 +1,15 @@
|
||||
# Maintainer: ArsenArsen <arsenarsentmc@outlook.com>
|
||||
pkgname=kshare
|
||||
pkgver=4.1
|
||||
pkgver=4.1r6
|
||||
pkgrel=1
|
||||
conflicts=("kshare-git")
|
||||
pkgdesc="A ShareX inspired cross platform utility written with Qt."
|
||||
pkgdesc="The free and open source and cross platform screen sharing software."
|
||||
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})
|
||||
source=(git+https://github.com/ArsenArsen/KShare.git)
|
||||
sha1sums=('SKIP')
|
||||
|
||||
build() {
|
||||
@ -23,5 +23,9 @@ package() {
|
||||
cd "${srcdir}/KShare"
|
||||
mkdir -p "$pkgdir/usr/bin"
|
||||
install ./KShare "$pkgdir/usr/bin/kshare"
|
||||
mkdir -p "$pkgdir/usr/share/pixmaps"
|
||||
install "${srcdir}/KShare/icons/icon.png" "$pkgdir/usr/share/pixmaps/KShare.png"
|
||||
mkdir -p "$pkgdir/usr/share/applications"
|
||||
# install KShare.desktop "$pkgdir/usr/share/applications"
|
||||
}
|
||||
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Maintainer: ArsenArsen <arsenarsentmc@outlook.com>
|
||||
pkgname=kshare
|
||||
pkgver=;VER;
|
||||
pkgrel=1
|
||||
conflicts=("kshare-git")
|
||||
pkgdesc="The free and open source and cross platform screen sharing software."
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://github.com/ArsenArsen/KShare"
|
||||
license=('MIT')
|
||||
provides=('kshare=$pkgver')
|
||||
depends=(qt5-base qt5-svg 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"
|
||||
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"
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
sed "s/;VER;/$1/" PKGBUILD.sample > PKGBUILD
|
||||
makepkg --printsrcinfo > .SRCINFO
|
||||
git stage .SRCINFO PKGBUILD
|
||||
git commit -m "Release $1"
|
||||
git push
|
Loading…
Reference in New Issue
Block a user