blob: bb64d089e90ca0baf1492a83343645d65b773b32 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
#
# fileobj PKGBUILD
#
# Maintainer: Uffe Jakobsen <uffe@uffe.org>
#
# Contributor: Uffe Jakobsen <uffe@uffe.org>
#
pkgname=fileobj
pkgver=0.8.6
pkgrel=1
pkgdesc="Ncurses based hex editor with vi interface written in Python "
arch=('any')
url="https://github.com/kusumi/fileobj"
license=('BSD-2-Clause')
depends=('python')
makedepends=()
optdepends=()
source=(https://github.com/kusumi/${pkgname}/archive/v${pkgver//_/-}.tar.gz)
sha256sums=('3b8d907798bc072faf0afe7b42557f1923080e46d80e0737493f01a08d0c5254')
noextract=()
pkg_name_ver="${pkgname}-${pkgver//_/-}"
prepare() {
cd "${srcdir}/${pkg_name_ver}"
}
build() {
cd "${srcdir}/${pkg_name_ver}"
python ./setup.py build
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
}
package() {
cd "${srcdir}/${pkg_name_ver}"
python ./setup.py install --root "${pkgdir}"
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
#
# EOF
#
|