summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2212b5afa944ab566501db64e8790fc7f53b2e21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>

pkgname=shrinky
pkgver=1.0
pkgrel=2
pkgdesc='Build small executables with C++17 (based on dnload)'
arch=('any')
url='https://github.com/xyproto/shrinky/'
license=('MIT')
depends=('python')
makedepends=('python-setuptools' 'git')
source=("git+https://github.com/xyproto/shrinky#tag=v$pkgver")
md5sums=('SKIP')

package() {
  cd "$pkgname"
  python setup.py install --optimize=1 --root "$pkgdir"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  install -Dm755 shrinky.sh "$pkgdir/usr/bin/$pkgname"
}

# vim: ts=2 sw=2 et: