OSDN Git Service

[add] : Added release version aptpac PKGBUILD..
authorhayao <shun819.mail@gmail.com>
Sat, 7 Mar 2020 03:30:59 +0000 (12:30 +0900)
committerhayao <shun819.mail@gmail.com>
Sat, 7 Mar 2020 03:30:59 +0000 (12:30 +0900)
.SRCINFO [new file with mode: 0644]
PKGBUILD [new file with mode: 0644]
aptpac-git/PKGBUILD

diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644 (file)
index 0000000..08d1c92
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = aptpac
+       pkgdesc = a pacman wrapper with syntax from debian's apt
+       pkgver = 2.0.0
+       pkgrel = 1
+       url = https://github.com/Hayao0819/aptpac
+       arch = i686
+       arch = x86_64
+       license = WTFPL
+       makedepends = git
+       depends = sudo
+       conflicts = apt
+       conflicts = apt-git
+       conflicts = aptpac-git
+       source = https://github.com/Hayao0819/aptpac/archive/v2.0.0.zip
+       md5sums = SKIP
+
+pkgname = aptpac
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644 (file)
index 0000000..3608c1f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintaoner: Yamada Hayao <development@fascode.net>
+# Maintainer: Abraham Levine <echo iue@trnspljc.890 | tr ietursnpl890jc acprlsurecomed>
+
+pkgname=aptpac
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="a pacman wrapper with syntax from debian's apt"
+arch=('i686' 'x86_64')
+url="https://github.com/Hayao0819/aptpac"
+license=('WTFPL')
+depends=('sudo')
+makedepends=('git')
+source=("${url}/archive/v${pkgver}.zip")
+md5sums=('SKIP')
+_gitname='aptpac'
+conflicts=('apt' 'apt-git' 'aptpac-git')
+
+
+package() {
+        cd "${_gitname}-${pkgver}" &&
+        install -m 755 -D aptpac "${pkgdir}/usr/bin/aptpac"
+        ln -s "${pkgdir}/usr/bin/aptpac" "${pkgdir}/usr/bin/apt"
+        ln -s "${pkgdir}/usr/bin/aptpac" "${pkgdir}/usr/bin/apt-get"
+}
index fb797cc..7b8638a 100644 (file)
@@ -13,7 +13,7 @@ makedepends=('git')
 source=('git://github.com/Hayao0819/aptpac.git')
 md5sums=('SKIP')
 _gitname='aptpac'
-conflicts=('apt' 'apt-git')
+conflicts=('apt' 'apt-git' 'aptpac')
 
 pkgver() {
         cd "${_gitname}" &&