summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 35009bee25f015ad623dde4940cc8a48d5fffb0c (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
32
33
# Maintainer: John Gerritse <tyrannis dot hawk at gmail dot com>

pkgname=ultra_outliner
pkgver=0.9.14b687
pkgrel=1
pkgdesc='Card-based outlining software for screenwriters, novelists and all story writers.'
url='http://ultraoutliner.com'
license=('custom')
arch=('x86_64')
depends=('libgl' 'libutil-linux' 'libxi')
source=(
  "${pkgname}-${pkgver}.tar.gz::https://gitlab.com/api/v4/projects/13950969/packages/generic/ultra_outliner/v.0.9.14b687-SNAPSHOT/ultraoutliner-ubuntu-x64-v.${pkgver}-SNAPSHOT.tar.gz"
  "${pkgname}.desktop"
  "${pkgname}.png"
  "${pkgname}.sh"
)
md5sums=('4fd43ec5a24e428b4588198175b510fc'
         'abd3a8d54712bde87cc044412f9da39e'
         '8bd89e964ec628dfb171f44484ae3c6a'
         'a68d14e71ab99b40fd2be80f6907cce8')
noextract=("${pkgname}-${pkgver}.tar.gz")

package() {
  install -dm755 "${pkgdir}/usr/share/${pkgname}"
  tar -xz -f "${pkgname}-${pkgver}.tar.gz" -C "${pkgdir}/usr/share/${pkgname}"
  # Move packages into the correct place
  mv "${pkgdir}"/usr/share/"${pkgname}"/builds/ultrablox/"${pkgname}"/out/distr/* "${pkgdir}"/usr/share/"${pkgname}"/
  rm -rf "${pkgdir}"/usr/share/"${pkgname}"/builds
  # Install startup files
  install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
  install -Dm644 "${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
  install -Dm755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
}