Skip to content

Commit

Permalink
Add: cortile.pacscript
Browse files Browse the repository at this point in the history
  • Loading branch information
ajstrongdev committed Nov 23, 2024
1 parent 1f33e5a commit 174341e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions packages/cortile/cortile.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
pkgname="cortile"
pkgver="2.5.2"
maintainer=("AJStrong <[email protected]>")
pkgdesc="Linux auto tiling manager with hot corner support"
replaces=("${gives}-bin" "${gives}-git")
arch=('any')
url='https://github.com/leukipp/cortile'
repology=("project: cortile")
source=("cortile-${pkgver}::https://github.com/leukipp/cortile/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=("6d5ea7c542093c109cbf0b23866aa154f49b7637d2f02d7d0467c38a4f114b01")
makedepends=("golang")

build() {
cd "cortile-${pkgver}"
go build \
-trimpath \
-buildmode=pie \
-mod=readonly \
-modcacherw \
-ldflags="-X 'main.flags=disable-dbus-interface,disable-release-info'"
}

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

0 comments on commit 174341e

Please sign in to comment.