# Maintainer: fenuks _pkgname=SwiftLint pkgname=swiftlint pkgver=0.52.4 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=('fb6ab7676f8c46d48b2f548cc95c74c2b063fd8b0e342cfca10083ce496737ab') build() { cd "${srcdir}/${_pkgname}-${pkgver}" make build } package() { cd "${srcdir}/${_pkgname}-${pkgver}" make install PREFIX="${pkgdir}/usr" BINARIES_FOLDER="${pkgdir}/usr/bin" }