Skip to content

Commit 416b5c0

Browse files
committed
[update] : Rewrote PKGBULD
1 parent 0ecc31c commit 416b5c0

File tree

4 files changed

+30
-34
lines changed

4 files changed

+30
-34
lines changed

PKGBUILDs/aptpac-git/.SRCINFO

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
pkgbase = aptpac-git
22
pkgdesc = a pacman wrapper with syntax from debian's apt
3-
pkgver = 2.2.0
3+
pkgver = 3.3.0
44
pkgrel = 1
55
url = https://github.com/FascodeNet/aptpac
66
arch = any
77
license = WTFPL
88
makedepends = git
9-
depends = sudo
109
conflicts = apt
1110
conflicts = apt-git
1211
conflicts = aptpac

PKGBUILDs/aptpac-git/PKGBUILD

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
# Maintaoner: Yamada Hayao <[email protected]>
22
# Maintainer: Abraham Levine <echo [email protected] | tr ietursnpl890jc acprlsurecomed>
33

4-
pkgname=aptpac-git
5-
pkgver=34.3b8b5ef
6-
pkgrel=1
4+
_gitname='aptpac'
5+
pkgname="${_gitname}-git"
76
pkgdesc="a pacman wrapper with syntax from debian's apt"
7+
pkgver="3.3.0"
8+
pkgrel="1"
9+
810
arch=('any')
911
url="https://github.com/FascodeNet/aptpac"
1012
license=('WTFPL')
11-
depends=('sudo')
1213
makedepends=('git')
14+
conflicts=('apt' 'apt-git' 'aptpac')
15+
1316
source=('git://github.com/FascodeNet/aptpac.git')
1417
md5sums=('SKIP')
15-
_gitname='aptpac'
16-
conflicts=('apt' 'apt-git' 'aptpac')
1718

1819
pkgver() {
19-
cd "${_gitname}" &&
20-
printf '%s.%s\n' "$(git rev-list --count HEAD)" \
21-
"$(git rev-parse --short HEAD)"
20+
cd "${_gitname}"
21+
printf '%s.%s\n' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
2222
}
2323

2424
package() {
25-
cd "${_gitname}" &&
26-
install -m 755 -D aptpac "${pkgdir}/usr/bin/aptpac"
27-
install -m 755 -D LICENSE "${pkgdir}/usr/share/licenses/aptpac/LICENSE"
28-
cd "${pkgdir}/usr/bin/"
29-
ln -s "aptpac" "apt"
30-
ln -s "aptpac" "apt-get"
25+
cd "${_gitname}"
26+
install -m 755 -D aptpac "${pkgdir}/usr/bin/aptpac"
27+
install -m 755 -D LICENSE "${pkgdir}/usr/share/licenses/aptpac/LICENSE"
28+
cd "${pkgdir}/usr/bin/"
29+
ln -s "aptpac" "apt"
30+
ln -s "aptpac" "apt-get"
3131
}

PKGBUILDs/aptpac/.SRCINFO

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
pkgbase = aptpac
22
pkgdesc = a pacman wrapper with syntax from debian's apt
3-
pkgver = 3.2.1
3+
pkgver = 3.3.0
44
pkgrel = 1
55
url = https://github.com/FascodeNet/aptpac
66
arch = any
77
license = WTFPL
8-
makedepends = git
9-
depends = sudo
108
conflicts = apt
119
conflicts = apt-git
1210
conflicts = aptpac-git
13-
source = https://github.com/FascodeNet/aptpac/archive/v3.2.1.zip
11+
source = https://github.com/FascodeNet/aptpac/archive/v3.3.0.zip
1412
md5sums = SKIP
1513

1614
pkgname = aptpac

PKGBUILDs/aptpac/PKGBUILD

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
11
# Maintaoner: Yamada Hayao <[email protected]>
22
# Maintainer: Abraham Levine <echo [email protected] | tr ietursnpl890jc acprlsurecomed>
33

4+
_gitname='aptpac'
45
pkgname="aptpac"
5-
pkgver="3.2.1"
6-
pkgrel="1"
76
pkgdesc="a pacman wrapper with syntax from debian's apt"
7+
pkgver="3.3.0"
8+
pkgrel="1"
9+
810
arch=('any')
911
url="https://github.com/FascodeNet/aptpac"
1012
license=('WTFPL')
11-
depends=('sudo')
12-
makedepends=('git')
13-
source=("${url}/archive/v${pkgver}.zip")
14-
md5sums=('SKIP')
15-
_gitname='aptpac'
1613
conflicts=('apt' 'apt-git' 'aptpac-git')
1714

15+
source=("${url}/archive/v${pkgver}.zip")
16+
md5sums=('SKIP')
1817

1918
package() {
20-
cd "${_gitname}-${pkgver}" &&
21-
install -m 755 -D aptpac "${pkgdir}/usr/bin/aptpac"
22-
install -m 755 -D LICENSE "${pkgdir}/usr/share/licenses/aptpac/LICENSE"
23-
cd "${pkgdir}/usr/bin/"
24-
ln -s "aptpac" "apt"
25-
ln -s "aptpac" "apt-get"
19+
cd "${_gitname}-${pkgver}"
20+
install -m 755 -D aptpac "${pkgdir}/usr/bin/aptpac"
21+
install -m 755 -D LICENSE "${pkgdir}/usr/share/licenses/aptpac/LICENSE"
22+
cd "${pkgdir}/usr/bin/"
23+
ln -s "aptpac" "apt"
24+
ln -s "aptpac" "apt-get"
2625
}

0 commit comments

Comments
 (0)