summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 804c1eb83688a07acc82b6100442b1c7dfc3c646 (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
27
28
29
30
31
32
33
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
# Contributor: Gerardo Marset <gammer1994@gmail.com>
# Contributor: Aaron Lindsay <aerial9@gmail.com>
# Contributor: Vithon <ratm@archlinux.us>
# Contributor: Alain

pkgname=dswifi
pkgver=0.4.2
pkgrel=1
pkgdesc="Library for using the wireless capabilities of the Nintendo DS for homebrew development"
license=('custom')
arch=('any')
url="http://www.akkit.org/dswifi/"
depends=('libnds')
source=("http://downloads.sourceforge.net/sourceforge/devkitpro/$pkgname-src-$pkgver.tar.bz2")
sha256sums=('af0456c51cdbdf82ca21f664e1f3b71106e7e0a02613dd7f1c0bd7eb6dc07f3e')
options=(!strip libtool staticlibs)

build() {
  # set environment
  source /etc/profile.d/devkitarm.sh

  make
}

package() {
  export DEVKITPRO="$pkgdir/opt/devkitpro"

  install -d "$DEVKITPRO/libnds"
  make install
  # license
  install -Dm644 dswifi_license.txt "$pkgdir"/usr/share/licenses/dswifi/dswifi_license.txt
}