PKGBUILDs/aur/devmem/PKGBUILD

25 lines
636 B
Bash
Raw Normal View History

2014-04-09 02:00:15 +00:00
# Maintainer: Brice Waegeneire < brice dot wge at gmail dot com >
2012-03-22 13:06:28 +00:00
# Contributor: Alexander Lam <lambchop468 *AT* gmail.com>
2014-04-09 02:00:15 +00:00
2012-03-22 13:06:28 +00:00
pkgname=devmem
pkgver=2
2014-04-09 02:00:15 +00:00
pkgrel=2
2012-03-22 13:06:28 +00:00
pkgdesc="A small utility to access /dev/mem and read/write to any memory location"
arch=('any')
url="http://free-electrons.com/pub/mirror/devmem2.c"
license=('GPL2')
source=("http://free-electrons.com/pub/mirror/${pkgname}${pkgver}.c")
2014-04-09 02:00:15 +00:00
sha256sums=('3b15515693bae1ebd14d914e46d388edfec2175829ea1576a7a0c8606ebbe639')
2012-03-22 13:06:28 +00:00
build() {
cd "$srcdir/"
gcc devmem2.c -o devmem2
}
2014-04-09 02:00:15 +00:00
package() {
install -D -m755 ${srcdir}/devmem2 ${pkgdir}/usr/bin/devmem2
}
2012-03-22 13:06:28 +00:00
# vim:set ts=2 sw=2 et: