summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b23829233794f45b034e135a186c7647c6108f68 (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
# Maintainer: Jonathan Kotta <jpkotta@gmail.com>

pkgname=phytool
pkgver=2
pkgrel=1
pkgdesc="MDIO register access"
arch=("x86_64")
url="https://github.com/wkz/phytool"
license=('GPL')
depends=('glibc')
makedepends=()
source=("https://github.com/wkz/phytool/releases/download/v${pkgver}/phytool-${pkgver}.tar.xz")
md5sums=('972982f8e5f7237cbccfc6d275da7348')

build() {
  cd "phytool-$pkgver"
  make
}

package() {
  cd "phytool-$pkgver"
  prefix=usr
  install -d -m 755 "$pkgdir/$prefix/bin"
  make PREFIX="$prefix" DESTDIR="$pkgdir/" install
}