blob: 195e1e387cf24f295cc5edee60e201ade9fff57f (
plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
run:
sudo -v
prepare-pkg:
namcap PKGBUILD
build:
makepkg -csi
rebuild:
if [ -f "beakerbrowser-0.7.11-1-x86_64.pkg.tar.xz" ]; then sudo rm beakerbrowser-0.7.11-1-x86_64.pkg.tar.xz; fi
makepkg
check:
namcap beakerbrowser-0.7.11-1-x86_64.pkg.tar.xz
checkpkg:
makepkg --repackage
prepare-push:
makepkg --printsrcinfo > .SRCINFO
uploadpkg:
makepkg --printsrcinfo > .SRCINFO
git add PKGBUILD .SRCINFO beakerbrowser beakerbrowser.desktop beakerbrowser.install LICENSE Makefile
sum_pkg:
sha256sum beakerbrowser-0.7.11-1-x86_64.pkg.tar.xz > beakerbrowser-0.7.11-1-x86_64.pkg.tar.xz.sha256
check_sum_pkg:
sha256sum -c beakerbrowser-0.7.11-1-x86_64.pkg.tar.xz.sha256
install_pkg:
sudo -v;
#Offline installation of packages test
sudo pacman -U beakerbrowser-0.7.11-1-x86_64.pkg.tar.xz
#msgcommit:
# git commit -m ${ARGS}
clean:
sudo -v;
if [ -d "beaker" ]; then sudo rm -r beaker; fi
if [ -d "pkg" ]; then sudo rm -r pkg; fi
if [ -d "src" ]; then sudo rm -r src; fi
if [ -f "beakerbrowser-0.7.11-1-x86_64.pkg.tar.xz" ]; then sudo rm beakerbrowser-0.7.11-1-x86_64.pkg.tar.xz; fi
help:
@echo "Makefile for Building packege to AUR by Arch linux operating System."
@echo "make ARGS='this is a first commit' msgcommit"
@echo "Usage: make [ all | clean | help | build | run] "
@echo ""
@echo
all: run prepare-pkg build check prepare-push install_pkg
.DEFAULT: all
|