blob: 38c2a85ff4b0b59a2819538924ade19eac84106f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Alice S. <quarkyalice@disroot.org>
pkgname=propertree-git
pkgver=r395.4930a82
pkgrel=1
pkgdesc="Cross platform GUI plist editor written in python."
arch=('any')
url="https://github.com/corpnewt/ProperTree"
license=('BSD')
depends=('python3' 'tk')
source=("${pkgname}::git+$url"
"ProperTree.desktop"
"ProperTree"
"ProperTree.png")
noextract=()
sha256sums=('SKIP'
'e788f1b98035a6293490411ba606618d1a0507e3403a38fef90a63010917e58c'
'80bbd920bd8b9f177e2d98bd9be10dd6c77042b3370fe4b2fd32665b8d936254'
'af2748672492af4c6d83070b4df8956c278db5cd83150dce9ea5ac3c37823137')
pkgver() {
cd "${srcdir}/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
install -d "${pkgdir}/opt/ProperTree"
cp -r "${srcdir}/${pkgname}/"* "${pkgdir}/opt/ProperTree" -R
install -Dm755 "${srcdir}/ProperTree" "${pkgdir}/usr/bin/ProperTree"
install -Dm644 "${srcdir}/ProperTree.desktop" "${pkgdir}/usr/share/applications/ProperTree.desktop"
install -Dm644 "${srcdir}/ProperTree.png" "${pkgdir}/usr/share/pixmaps/ProperTree.png"
}
|