summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 235528d6a81b550c0188c0cfc52a4d8687baae25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Electrux <ElectruxRedsworth AT gmail DOT com>

pkgname=dr
pkgver=1.0
pkgrel=1
pkgdesc="An ed-like client for devRant written in python"
arch=('any')
url="https://github.com/Ewpratten/dr"
license=('MIT')

makedepends=('python-pip' 'python')
depends=('python-pip' 'python')

source=("https://github.com/ewpratten/$pkgname/archive/$pkgver-nix.tar.gz" "https://github.com/Ewpratten/$pkgname/releases/download/$pkgver-nix/dr")
sha512sums=('25d80b9b0d5982725925170e194eea7a19cb2295bf5f6dca4bc9abfa3564998a02dc64044aad0e4cfe8a2469583850632b74b3c7f159cc43aba644fb26a59d9d' 'b372238a0ee3ce0a44ca733c0f9676f9f21498304825ee97409351c78f9fbd08ae44c2f354ecfbb030b5c59eebee85227f643ff6d2063622759f82bd60e6f377')

package() {
        PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps requests devRantSimple
        install -Dm755 ./dr "${pkgdir}/usr/bin/dr"
}