summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryjun2021-02-28 13:51:12 +0800
committeryjun2021-02-28 13:51:12 +0800
commit704cc0a4bc98f73cf7726fdd14a03dcf89ee42ec (patch)
tree44ab65004a97e812b502fd24221368d3c8a8d1cd
parent96c49d59584aa8852c47f2e7fb74e39d31af4577 (diff)
downloadaur-704cc0a4bc98f73cf7726fdd14a03dcf89ee42ec.tar.gz
pkgbuild: add conflicts : micronucleus
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD5
-rw-r--r--micronucleus.install9
3 files changed, 5 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d0636c73bb06..0e43aaeb5aef 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = micronucleus-git
pkgdesc = ATTiny usb bootloader with a strong emphasis on bootloader compactness
pkgver = 2.04.r6.g4d2481d
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/micronucleus/micronucleus
arch = x86_64
arch = i686
@@ -13,6 +13,7 @@ pkgbase = micronucleus-git
makedepends = git
depends = libusb-compat
provides = micronucleus
+ conflicts = micronucleus
options = !makeflags
source = git+https://github.com/micronucleus/micronucleus
sha1sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index abf37b61657e..bc76d07623c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
-# Maintainer: yjun <jerrysteve1101@gmail.com>
+# Maintainer: yjun <jerrysteve1101 at gmail dot com>
# Contributor: Yuval Adam <yuv dot adm at gmail dot com> PGP-Key: CC2115C12D99D2F0
pkgname=micronucleus-git
_gitname=micronucleus
pkgver=2.04.r6.g4d2481d
-pkgrel=2
+pkgrel=3
pkgdesc="ATTiny usb bootloader with a strong emphasis on bootloader compactness"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/micronucleus/micronucleus"
@@ -12,6 +12,7 @@ license=('GPL')
depends=('libusb-compat')
makedepends=('git')
provides=('micronucleus')
+conflicts=('micronucleus')
source=("git+$url")
options=('!makeflags')
sha1sums=('SKIP')
diff --git a/micronucleus.install b/micronucleus.install
deleted file mode 100644
index a5fe2b8daf09..000000000000
--- a/micronucleus.install
+++ /dev/null
@@ -1,9 +0,0 @@
-post_install () {
- udevadm control --reload-rules
-}
-
-post_remove () {
- post_install "$@"
-}
-
-# vim:ts=2 sw=2 et ft=sh: