summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9bd89539e6fffb8d1ac39877e717ec86206a5656 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Étienne Deparis <etienne [at] depar.is>

pkgname=eg
pkgver=1.2.1
pkgrel=2
pkgdesc="Useful examples at the command line"
license=("MIT")
url="https://github.com/srsudar/eg"
depends=("python")
makedepends=("python-setuptools")
source=("eg-${pkgver}.tar.gz::https://github.com/srsudar/eg/archive/v${pkgver}.tar.gz")
sha256sums=('deb79ec8e0a3116285744c047f179b47cf52059bad7b468d1319e22ed0f52e74')
arch=("any")
options=(!emptydirs)

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  python setup.py install --root="$pkgdir"
  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}