# Maintainer: fenuks _pkgname=SwiftLint pkgname=swiftlint pkgver=0.52.0 pkgrel=1 pkgdesc="A tool to enforce Swift style and conventions." arch=("i686" "x86_64") url="https://github.com/realm/SwiftLint" license=("MIT") depends=("swift-language") optdepends=() makedepends=() conflicts=("${pkgname}") # options=() # install=$pkgname.install source=("${pkgname}-${pkgver}.tar.gz::https://github.com/realm/SwiftLint/archive/${pkgver}.tar.gz") sha256sums=('c12413f9cbc46d76deb03a49020e532bf55275eff7806bd84eb341d4abccaab1') build() { cd "${srcdir}/${_pkgname}-${pkgver}" make build } package() { cd "${srcdir}/${_pkgname}-${pkgver}" make install PREFIX="${pkgdir}/usr" BINARIES_FOLDER="${pkgdir}/usr/bin" }