diff options
author | Dimitris Kiziridis | 2020-07-01 01:04:09 +0300 |
---|---|---|
committer | Dimitris Kiziridis | 2020-07-01 01:04:09 +0300 |
commit | b6471061e64b374c8479af2c099c38ae5d095608 (patch) | |
tree | b641591996524cc40e3ea26ce7cb07ee2da49243 | |
download | aur-b6471061e64b374c8479af2c099c38ae5d095608.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 24 | ||||
-rw-r--r-- | comixed.service | 10 |
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..17299dff6e79 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = comixed + pkgdesc = An application for managing digital comics + pkgver = 0.6.0 + pkgrel = 1 + url = https://github.com/mcpierce/comixed + arch = any + license = GPL3 + depends = java-runtime>=8 + depends = bash + source = comixed-0.6.0.zip::https://github.com/comixed/comixed/releases/download/v0.6.0-1/comixed-app-0.6.0-1-RELEASE.zip + source = comixed.service + sha256sums = 55a2132f64ae82a1d333263d7399d892487dead77a0593fad45c75297d34f7f8 + sha256sums = SKIP + +pkgname = comixed + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..46ee74dd86fa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com> + +pkgname=comixed +pkgver=0.6.0 +pkgrel=1 +pkgdesc="An application for managing digital comics" +arch=('any') +url='https://github.com/mcpierce/comixed' +license=('GPL3') +depends=('java-runtime>=8' 'bash') +source=("${pkgname}-${pkgver}.zip::https://github.com/comixed/comixed/releases/download/v${pkgver}-1/comixed-app-${pkgver}-1-RELEASE.zip" + 'comixed.service') +sha256sums=('55a2132f64ae82a1d333263d7399d892487dead77a0593fad45c75297d34f7f8' + 'SKIP') + +prepare() { + sed -i "24s|.*|COMIXED_JAR_FILE=/usr/share/java/${pkgname}/comixed-app-*.jar|" comixed-app-${pkgver}-1/bin/run.sh +} + +package() { + install -Dm644 comixed-app-${pkgver}-1/bin/comixed-app-${pkgver}-1.jar -t "${pkgdir}/usr/share/java/${pkgname}" + install -Dm755 comixed-app-${pkgver}-1/bin/run.sh "${pkgdir}/usr/bin/comixed" + install -Dm644 comixed.service -t "${pkgdir}/usr/lib/systemd/system/" +}
\ No newline at end of file diff --git a/comixed.service b/comixed.service new file mode 100644 index 000000000000..e7117d3225a3 --- /dev/null +++ b/comixed.service @@ -0,0 +1,10 @@ +[Unit] +Description=Digital Comic Management System +After=network.target + +[Service] +Type=simple +ExecStart=/usr/bin/comixed + +[Install] +WantedBy=multi-user.target
\ No newline at end of file |