add open-delta

This commit is contained in:
starsareintherose 2021-08-23 14:34:29 +08:00
parent a5b48fd3d0
commit 7fc11309fc
3 changed files with 42 additions and 0 deletions

23
open-delta/PKGBUILD Executable file
View file

@ -0,0 +1,23 @@
# Maintainer: Malacology <guoyizhang at malacology dot com>
# Contributor: Malacology <guoyizhang at malacology dot com>
pkgname=open-delta
pkgver=1.02
pkgrel=1
pkgdesc="DEscription Language of TAxonomy"
arch=('x86_64')
url="https://github.com/AtlasOfLivingAustralia/open-delta"
license=('unknown')
source=("https://github.com/AtlasOfLivingAustralia/open-delta/files/4686516/open-delta-1.02-bin.zip" "open-delta.desktop" "delta.gif")
sha256sums=('f3e2cd3d6abb572e2e856e624a574b100592da40c7c6639a9dd28abcc5e5c993'
'1f5b65a87a3778ec40f40643c937ea6be99474aa3185ead67551f8ee83146fe6'
'583b2666eb51f488aefe27caf870961478fcdd9272304d667d83631fe62e8e0f')
depends=(
'java-runtime'
)
package() {
install -dm755 "$pkgdir"/usr/share/{${pkgname},applications}
mv ${srcdir}/open-delta-${pkgver}/* ${pkgdir}/usr/share/${pkgname}
install -m 755 ${srcdir}/delta.gif ${pkgdir}/usr/share/${pkgname}/delta.gif
install -m 755 ${srcdir}/delta.desktop ${pkgdir}/usr/share/applications/delta.desktop
}

BIN
open-delta/delta.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

View file

@ -0,0 +1,19 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=java -jar /usr/share/open-delta/lib/delta-editor-1.02.jar
GenericName=
GenericName[zh]=
Icon=/usr/share/open-delta/delta.gif
MimeType=
Name=DELTA
Name[zh]=DELTA
ServiceTypes=
SwallowExec=
SwallowTitle=
Terminal=false
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=root