summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 34e0a7454eb15976ef1969544cf46a86fb26da85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>

pkgname=asmttpd
pkgver=0.4.4
pkgrel=1
pkgdesc='Web server written in Assembly'
arch=('x86_64')
url='https://github.com/nemasu/asmttpd'
license=('GPL2')
makedepends=('yasm')
source=("asmttpd-${pkgver}.tar.gz::https://github.com/nemasu/asmttpd/archive/${pkgver}.tar.gz")
sha512sums=('8419b095fa9fa89979cef512c28cbf9001bc8f47c4d816a989e20d4b5338afa08443ece22d0576ed8463a966469a0207caec5dcac003c63a952bb7e780e9bccf')

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

  make -s release
}

package() {
  install -Dm755 "${pkgname}-${pkgver}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}