Skip to content

Commit 8ec341e

Browse files
committed
Create PKGBUILD script
Why: To create arch package How: What: Tags: AUR, PKGBUILD
1 parent e60ee97 commit 8ec341e

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

PKGBUILD

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# This is an example PKGBUILD file. Use this as a start to creating your own,
2+
# and remove these comments. For more information, see 'man PKGBUILD'.
3+
# NOTE: Please fill out the license field for your package! If it is unknown,
4+
# then please put 'unknown'.
5+
6+
# Maintainer: Abir-Tx <abirtx@yandex.com>
7+
pkgname=ffmpeg-coder
8+
pkgver=2.0.0
9+
pkgrel=1
10+
epoch=
11+
pkgdesc="A small cross platform CLI tool which will help in producing different types video converting codes quickly for new ffmpeg CLI users"
12+
arch=(x86_64 i686)
13+
url="https://github.com/Abir-Tx/ffmpeg-coder.git"
14+
license=('MIT')
15+
groups=()
16+
depends=()
17+
makedepends=(git make gcc)
18+
checkdepends=()
19+
optdepends=()
20+
provides=(ffmpeg-coder)
21+
conflicts=(ffmpeg-coder)
22+
replaces=()
23+
backup=()
24+
options=()
25+
install=
26+
changelog=
27+
source=("git+$url")
28+
noextract=()
29+
md5sums=(f8b683e201b3e9b1f003fef349f4a971)
30+
validpgpkeys=()
31+
32+
prepare() {
33+
cd "$pkgname"
34+
make -f Makefile.own dir
35+
}
36+
37+
build() {
38+
cd "$pkgname"
39+
make -f Makefile.own build
40+
}
41+
42+
package() {
43+
cd "$pkgname"
44+
cp bin/ffmpeg-coder.o /bin
45+
}

0 commit comments

Comments
 (0)