summaryrefslogtreecommitdiff
path: root/shed/PKGBUILD
blob: 1a55562c7e76e6fd2704bff38e511cf5427feca7 (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
# Maintainer:  Erich Eckner <arch at eckner dot net>
# Contributor: TDY <tdy@archlinux.info>
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=shed
pkgver=1.16
pkgrel=1
pkgdesc="A simple hex editor with an ncurses, pico-style interface"
arch=('i686' 'pentium4' 'x86_64')
url="https://shed.sourceforge.net/"
license=('GPL')
_pinned_dependencies=(
  'glibc>=2.31'
  'libncursesw.so=6'
)
depends=("${_pinned_dependencies[@]}")
source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
sha512sums=('0c807205540b17ee977c157c8edd916b34ba6c4ace280f59c10a92abbe820ef7fe24c4a64c2fc8b5fcd3d86f71e26672cef469340ddce393d370b53aa8785e7c')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make CFLAGS="$CFLAGS"
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}