summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0361e7220323980d736fa557e84b4391a3344375 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Andrés Cordero <arch@andrew67.com>
pkgname=etherpuppet
pkgver=v0.4
pkgrel=3
pkgdesc="Small program that will create a voodoo doll for an Ethernet interface"
arch=('any')
url="http://www.secdev.org/projects/etherpuppet/"
license=('LGPL')
source=('https://raw.githubusercontent.com/secdev/etherpuppet/c1d5ca279e718e60c67a7bc62ed27b855a8bf1d9/etherpuppet.c')
noextract=()
md5sums=('755097760542e477ccd3ab0f6f20200c')

build() {
  cd "$srcdir"
  cc -o etherpuppet etherpuppet.c
}

package() {
  mkdir -p "$pkgdir/usr/bin"
  mv "$srcdir/etherpuppet" "$pkgdir/usr/bin"
}