#!/usr/bin/env bash name=sex version=1.0 release=3 url='http://spatula.net/software/sex' description='Spouts silly mad-lib-style porn-like text' email='leah@vuxu.org' maintainer='Leah Neukirchen' license=('public domain') depends=(gcc) #source=("http://spatula.net/software/sex/sex-1.0.tar.gz") source=("https://github.com/BaiGor/abax/raw/main/${name}-${version}.tar.gz") arch=(x86_64 aarch64) sha256sums=('028417efb544ee98115721fbafe569242ac3350761e1c96f8e94fcccfc87f763' 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855' 'SKIP' ) cd $name-$version setup(){ gcc -o sex sex.c gzip sex.6 } build(){ install -Dm755 sex "$pkgdir/usr/bin/sex" install -Dm644 sex.6.gz "$pkgdir/usr/share/man/man6/sex.6.gz" }