mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Initial release
This commit is contained in:
commit
d14f07d6d8
2 changed files with 48 additions and 0 deletions
15
.SRCINFO
Normal file
15
.SRCINFO
Normal 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
33
PKGBUILD
Normal 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"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue