summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1b113af26a4718071e19fe0cd816a708b50ea337 (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
# Maintainer: yjun <jerrysteve1101 at gmail dot com>

pkgname=dongbei
pkgver=0.0.16
pkgrel=1
pkgdesc="东北方言编程语言"
arch=('any')
url="https://github.com/zhanyong-wan/dongbei"
license=('MIT')
makedepends=('python-setuptools-scm' 'python-setuptools')
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/zhanyong-wan/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('2ac9deb013a865fd33d383441d39b3d73414801be8389789d096be42197787d4')

build() {
  cd $pkgname-$pkgver

  python setup.py build
}

package() {
  cd $pkgname-$pkgver

  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build

  # license
  install -Dm644 LICENSE -t ${pkgdir}/usr/share/licenses/${pkgname}/
}
# vim: set sw=2 ts=2 et: