summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 25823e6766b14fca4e7bd8830d860967f958c95a (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
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>

pkgname=omniawrite
pkgver=1.2.0
pkgrel=1
pkgdesc="A next-generation cross-platform plain text editor engineered for creative writing"
arch=('x86_64')
url='https://omniawrite.com'
depends=('gtk3'
         'nss')
license=("custom:${pkgname}")
source=("${pkgname}-${pkgver}.rpm::https://external.omniawrite.com/download/rpm"
        'LICENSE')
sha256sums=('85f139a4e4e45fe711e39ab316d6efab7a8c94615f97de8ed47dba7a00b4868b'
            'dbc3c7b9f55c9230e503fcafce4a0453fbbcfcca2e598f74e5fb29b538671402')

package() {
  cp -aR opt/ "${pkgdir}/"
  rm -rf usr/lib
  cd usr/share/icons/hicolor
  mv 0x0 512x512
  cd "${srcdir}"
  cp -aR usr/ "${pkgdir}/"
  install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}