diff options
author | Gavin McDowell | 2016-03-08 17:30:57 -0500 |
---|---|---|
committer | Gavin McDowell | 2016-03-08 17:30:57 -0500 |
commit | 756e4c0f4f3f69c63c8ef00ca3986f51babd8def (patch) | |
tree | 425e452aa76117bffb0a71db8b4dd49f102a658b | |
download | aur-756e4c0f4f3f69c63c8ef00ca3986f51babd8def.tar.gz |
Arch package for sys161 2.0.8
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..880949cf9ac7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = sys161 + pkgdesc = A synthetic hardware platform designed specifically for use in CS161. + pkgver = 2.0.8 + pkgrel = 1 + url = http://www.eecs.harvard.edu/~mdw/course/cs161/handouts/sys161/ + arch = x86_64 + license = custom + source = http://os161.eecs.harvard.edu/download/sys161-2.0.8.tar.gz + md5sums = 1edad9cc363819c58d3178ed93e2fe0a + +pkgname = sys161 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e54cf55cf4b0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Your Name <gmcdowell at college dt harvard dt edu> +pkgname=sys161 +pkgver=2.0.8 +pkgrel=1 +pkgdesc="A synthetic hardware platform designed specifically for use in CS161." +arch=('x86_64') +url="http://www.eecs.harvard.edu/~mdw/course/cs161/handouts/sys161/" +license=('custom') +source=("http://os161.eecs.harvard.edu/download/$pkgname-$pkgver.tar.gz") +md5sums=('1edad9cc363819c58d3178ed93e2fe0a') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr mipseb + make +} + +package() { + cd "$pkgname-$pkgver" + install -D -m 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + make DESTDIR="$pkgdir/" install +} |