summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeeweep2020-02-24 12:58:08 +0000
committerpeeweep2020-02-24 20:58:08 +0800
commitb6f1e521e7e9b3b1db88f8e7bc33b15bfe204b6e (patch)
tree4b19931aaa19bb12f8e7af38c36750b41054fe4c
parent5bbed4f8911fdba70f161e5dd1a5bfb0fa59921a (diff)
downloadaur-b6f1e521e7e9b3b1db88f8e7bc33b15bfe204b6e.tar.gz
bump version 0.4
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD24
2 files changed, 18 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 333b57a1b30..cf8a72550d0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,17 @@
pkgbase = supersm
pkgdesc = A Super Symlink Manager
- pkgver = 0.3
- pkgrel = 2
- url = https://github.com/peeweep/SuperSM
+ pkgver = 0.4
+ pkgrel = 1
+ url = https://github.com/peeweep/supersm
arch = any
license = MIT
makedepends = boost
makedepends = cmake
makedepends = make
- source = SuperSM-0.3.tar.gz::https://github.com/peeweep/SuperSM/archive/0.3.tar.gz
- sha256sums = 54cad12a90d7cde1a7cb2e14243a69862dfc0113dbafd28a7a4469fea28a3318
+ provides = supersm
+ conflicts = supersm-git
+ source = supersm-0.4.tar.gz::https://github.com/peeweep/supersm/archive/0.4.tar.gz
+ sha256sums = be2f1aa9fce1a4226727544ce3e374ff348e78f49afa315a6bbdf571dc50183b
pkgname = supersm
diff --git a/PKGBUILD b/PKGBUILD
index 3ba39b39a99..17972638a0d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,26 @@
# Maintainer: peeweep <peeweep at 0x0 dot ee>
pkgname=supersm
-_pkgname=SuperSM
-pkgver=0.3
-pkgrel=2
+pkgver=0.4
+pkgrel=1
pkgdesc="A Super Symlink Manager"
arch=("any")
-url="https://github.com/peeweep/SuperSM"
+url="https://github.com/peeweep/supersm"
license=('MIT')
makedepends=('boost' 'cmake' 'make')
-source=("${_pkgname}-${pkgver}.tar.gz"::${url}/archive/${pkgver}.tar.gz)
-sha256sums=('54cad12a90d7cde1a7cb2e14243a69862dfc0113dbafd28a7a4469fea28a3318')
+provides=('supersm')
+conflicts=('supersm-git')
+source=("${pkgname}-${pkgver}.tar.gz"::${url}/archive/${pkgver}.tar.gz)
+sha256sums=('be2f1aa9fce1a4226727544ce3e374ff348e78f49afa315a6bbdf571dc50183b')
build() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- mkdir build
- cd build
- cmake ..
- make
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ cmake -Bbuild && make -C build
}
package() {
- install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm755 "${srcdir}/${_pkgname}-${pkgver}/build/${_pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm755 "${srcdir}/${pkgname}-${pkgver}/build/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}
# vim:set ts=2 sw=2 et: