-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
24 lines (21 loc) · 894 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: JoeJoeTV <[email protected]>
pkgname=nemo-kdeconnect
pkgver=1.0.1
pkgrel=1
pkgdesc='Extension for the Nemo file manager that adds the ability to send files to devices connected using KDEConnect directly from Nemo.'
arch=('all')
url="https://github.com/JoeJoeTV/nemo-extension-kdeconnect"
license=('GPL-3')
depends=('python3' 'nemo' 'kdeconnect' 'python-nemo')
provides=('nemo-kdeconnect')
#sha256sums=('SKIP')
build() {
# Compile localization files to .mo
find "${srcdir}/nemo-kdeconnect/locale/" -name \*.po -print -execdir sh -c 'msgfmt -f -o "$(basename "$0" .po).mo" "$0"' '{}' \;
}
package() {
install -D "${srcdir}/nemo-kdeconnect.py" "${pkgdir}/usr/share/nemo-python/extensions/nemo-kdeconnect.py"
cd nemo-kdeconnect
find "locale/" -type f -name \*.mo -print -exec install -D "${srcdir}/nemo-kdeconnect/{}" "${pkgdir}/usr/share/{}" \;
cd ..
}