Implement discard(), add PKGBUILD