Initial release

This commit is contained in:
Soumadip Das 2026-01-22 01:45:11 +05:30
commit d14f07d6d8
2 changed files with 48 additions and 0 deletions

15
.SRCINFO Normal file
View file

@ -0,0 +1,15 @@
pkgbase = autotitle
pkgdesc = Automated anime episode renaming tool with MAL integration
pkgver = 0.2.0
pkgrel = 1
url = https://github.com/soymadip/autotitle
arch = x86_64
license = GPL3
makedepends = go
makedepends = git
depends = glibc
backup = etc/autotitle/config.yml
source = git+https://github.com/soymadip/autotitle.git#tag=v0.2.0
sha256sums = SKIP
pkgname = autotitle

33
PKGBUILD Normal file
View file

@ -0,0 +1,33 @@
# Maintainer: soymadip
pkgname=autotitle
pkgver=0.2.0
pkgrel=1
pkgdesc="Automated anime episode renaming tool with MAL integration"
arch=('x86_64')
url="https://github.com/soymadip/autotitle"
license=('GPL3')
depends=('glibc')
makedepends=('go' 'git')
source=("git+$url.git#tag=v$pkgver")
sha256sums=('SKIP')
backup=('etc/autotitle/config.yml')
build() {
cd "$pkgname"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
make release
}
package() {
cd "$pkgname"
install -Dm755 "bin/autotitle" "$pkgdir/usr/bin/autotitle"
install -Dm644 "src/config.yml" "$pkgdir/etc/autotitle/config.yml"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
}