Update AUR scripts
This commit is contained in:
parent
3e6a3b0407
commit
e36f6de9ac
@ -31,7 +31,7 @@ build() {
|
|||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd KShare
|
cd KShare
|
||||||
install -Dm755 src/KShare "$pkgdir/usr/bin/kshare"
|
install -Dm755 src/kshare "$pkgdir/usr/bin/kshare"
|
||||||
install -Dm644 icons/icon.png "$pkgdir/usr/share/pixmaps/KShare.png"
|
install -Dm644 icons/icon.png "$pkgdir/usr/share/pixmaps/KShare.png"
|
||||||
install -Dm644 KShare.desktop "$pkgdir/usr/share/applications/KShare.desktop"
|
install -Dm644 KShare.desktop "$pkgdir/usr/share/applications/KShare.desktop"
|
||||||
|
|
||||||
|
@ -13,20 +13,23 @@ makedepends=('git')
|
|||||||
source=(git+https://github.com/ArsenArsen/KShare.git)
|
source=(git+https://github.com/ArsenArsen/KShare.git)
|
||||||
sha1sums=('SKIP')
|
sha1sums=('SKIP')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd KShare
|
||||||
|
git submodule update --init --recursive
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/KShare"
|
cd KShare
|
||||||
git submodule update --init --recursive
|
|
||||||
qmake
|
qmake
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/KShare"
|
cd KShare
|
||||||
mkdir -p "$pkgdir/usr/bin"
|
install -Dm755 src/kshare "$pkgdir/usr/bin/kshare"
|
||||||
install src/KShare "$pkgdir/usr/bin/kshare"
|
install -Dm644 icons/icon.png "$pkgdir/usr/share/pixmaps/KShare.png"
|
||||||
mkdir -p "$pkgdir/usr/share/pixmaps"
|
install -Dm644 KShare.desktop "$pkgdir/usr/share/applications/KShare.desktop"
|
||||||
install "${srcdir}/KShare/icons/icon.png" "$pkgdir/usr/share/pixmaps/KShare.png"
|
|
||||||
mkdir -p "$pkgdir/usr/share/applications"
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
# install KShare.desktop "$pkgdir/usr/share/applications"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user