summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0398d817bb7f221bfa6987358f410a1b085db2d9 (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: graysky <graysky AT archlinux DOT us>

pkgname=odroid-auto-bridge
pkgver=0.8
pkgrel=1
pkgdesc="A method to create a network bridge for ODROID hardware"
arch=('any')
url="https://github.com/graysky2/odroid-c2-bridge"
license=('MIT')
conflicts=('odroid-c2-bridge')
replaces=('odroid-c2-bridge')
depends=('bridge-utils' 'iproute2' 'systemd')
source=("$pkgname-$pkgver.tar.gz::https://github.com/graysky2/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('1bd246d21cbde6c2b3770384b4881fedf8a7d70e17cac1d7a09def268b143e39')

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

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
  install -Dm644 MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}