blob: 51a6a93637ce6f43593c685445bb422c9877ca7f (
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
|
# Maintainer: Alex Henrie <alexhenrie24@gmail.com>
pkgname=ioperm-git
pkgver=r1.6d1a6c8
pkgrel=1
pkgdesc='Start a program with access to I/O ports'
arch=('x86_64')
url='https://gitlab.com/alexhenrie/ioperm'
license=('GPL')
install=ioperm.install
source=("git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd ioperm
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd ioperm
cc ioperm.c -o ioperm
}
package() {
cd ioperm
install -Dm755 ioperm "$pkgdir/usr/bin/ioperm"
}
|