-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpkg
40 lines (33 loc) · 1.01 KB
/
pkg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
PKGBUILD HOW TO
Youtube Video: http://youtu.be/JLmDQezrNfE
- make sure base-devel and gcc is installed
- create a build folder; i.e. vnc2swf
- cd vnc2swf
- cp /usr/share/pacman/PKGBUILD.proto PKGBUILD
- edit the PKGBUILD file
NOTE: in this example, most commands in the prototype can be removed.
EXAMPLE:
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Your Name <[email protected]>
pkgname=vnc2swf
pkgver=0.5.0
pkgrel=1
pkgdesc="A cross-platform screen recording tool"
arch=('any')
url=""
license=('GPL')
source=("http://www.unixuser.org/~euske/vnc2swf/vnc2swf-0.5.0.tar.gz")
md5sums=('2eed9cd91cff76e69004c905660b00ae')
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="${pkgdir}" install
}
############ END OF EXAMPLE ############