Update AUR scripts

This commit is contained in:
ArsenArsen 2017-10-15 17:33:57 +02:00
parent 3e6a3b0407
commit e36f6de9ac
No known key found for this signature in database
GPG Key ID: 683D2F43B0CA4BD2
2 changed files with 13 additions and 10 deletions

View File

@ -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"

View File

@ -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"
} }