Skip to content

Commit

Permalink
add autocut-git
Browse files Browse the repository at this point in the history
  • Loading branch information
zxp19821005 committed Dec 14, 2023
1 parent 40f3869 commit 2e0f5ce
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
|**authme**|[authme-bin](https://github.com/zxp19821005/My_AUR_Files/tree/main/authme-bin)|[authme-bin](https://aur.archlinux.org/packages/authme-bin)||
|**authpass**|[authpass-bin](https://github.com/zxp19821005/My_AUR_Files/tree/main/authpass-bin)|[authpass-bin](https://aur.archlinux.org/packages/authpass-bin)||
|**autocut-client**|[autocut-client](https://github.com/zxp19821005/My_AUR_Files/tree/main/autocut-client)|[autocut-client](https://aur.archlinux.org/packages/autocut-client)||
|**autocut**|[autocut-git](https://github.com/zxp19821005/My_AUR_Files/tree/main/autocut-git)|[autocut-git](https://aur.archlinux.org/packages/autocut-git)||
|**autographa**|[autographa-bin](https://github.com/zxp19821005/My_AUR_Files/tree/main/autographa-bin)|[autographa-bin](https://aur.archlinux.org/packages/autographa-bin)||
|**autorecord-manager**|[autorecord-manager](https://github.com/zxp19821005/My_AUR_Files/tree/main/autorecord-manager)|[autorecord-manager](https://aur.archlinux.org/packages/autorecord-manager)||
|**aviutl-package-manager**|[aviutl-package-manager-bin](https://github.com/zxp19821005/My_AUR_Files/tree/main/aviutl-package-manager-bin)|[aviutl-package-manager-bin](https://aur.archlinux.org/packages/aviutl-package-manager-bin)||
Expand Down
42 changes: 42 additions & 0 deletions autocut-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=autocut-git
pkgver=r84.638f6d8
pkgrel=1
pkgdesc="Cut videos using a text editor.用文本编辑器剪视频."
arch=('any')
url="https://github.com/mli/autocut"
license=('Apache')
conflicts=(
"${pkgname%-git}"
)
provides=(
"${pkgname%-git}"
)
depends=(
'python'
'ffmpeg'
'python-importlib-metadata'
'python-setuptools'
'opencc'
)
makedepends=(
'git'
'python-pipx'
)
source=(
"${pkgname%-git}::git+${url}.git"
)
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname%-git}"
python setup.py build
}
package() {
cd "${srcdir}/${pkgname%-git}"
python setup.py install --root="${pkgdir}" --skip-build --optimize=1
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}

0 comments on commit 2e0f5ce

Please sign in to comment.